diff options
author | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-02-08 00:22:39 +0000 |
---|---|---|
committer | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-02-08 00:22:39 +0000 |
commit | b606cb19527d294cfd05011de5dfd47b6c023296 (patch) | |
tree | 3ff67c8a11c35dceae1e87617329133dbd566dc8 /libmpdvdkit2/device.h | |
parent | 4e8a50437110dc3d70e406c8d3dbf2a522ff5594 (diff) | |
download | mpv-b606cb19527d294cfd05011de5dfd47b6c023296.tar.bz2 mpv-b606cb19527d294cfd05011de5dfd47b6c023296.tar.xz |
sync with libdvdcss 1.2.5 (including u8->uint8_t and whitespace cosmetics...)
patch by Andreas Hess <jaska@gmx.net>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9334 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdvdkit2/device.h')
-rw-r--r-- | libmpdvdkit2/device.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/libmpdvdkit2/device.h b/libmpdvdkit2/device.h index c50e2c00eb..21da4ffba0 100644 --- a/libmpdvdkit2/device.h +++ b/libmpdvdkit2/device.h @@ -12,7 +12,7 @@ * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the @@ -26,13 +26,14 @@ /***************************************************************************** * iovec structure: vectored data entry *****************************************************************************/ -#if defined( WIN32 ) +#if defined( WIN32 ) && !defined( SYS_CYGWIN ) # include <io.h> /* read() */ #else +# include <sys/types.h> # include <sys/uio.h> /* struct iovec */ #endif -#if defined( WIN32 ) +#if defined( WIN32 ) && !defined( SYS_CYGWIN ) struct iovec { void *iov_base; /* Pointer to data. */ |