Mercurial > mplayer.hg
diff libmpdvdkit2/device.h @ 9333:f0f0f176d298
sync with libdvdcss 1.2.5 (including u8->uint8_t and whitespace cosmetics...)
patch by Andreas Hess <jaska@gmx.net>
author | arpi |
---|---|
date | Sat, 08 Feb 2003 00:22:39 +0000 |
parents | 0211de3039eb |
children | 8e6981e8f50a |
line wrap: on
line diff
--- a/libmpdvdkit2/device.h Sat Feb 08 00:00:00 2003 +0000 +++ b/libmpdvdkit2/device.h Sat Feb 08 00:22:39 2003 +0000 @@ -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. */