diff --git a/libmpdvdkit2/common.h b/libmpdvdkit2/common.h index 2cd0aab8e2..f3a60185ee 100644 --- a/libmpdvdkit2/common.h +++ b/libmpdvdkit2/common.h @@ -29,6 +29,10 @@ *****************************************************************************/ #include +#ifdef __CYGWIN__ +#define SYS_CYGWIN +#endif + #if defined( WIN32 ) #ifndef PATH_MAX diff --git a/libmpdvdkit2/libdvdcss.c b/libmpdvdkit2/libdvdcss.c index 32bfbfcfd4..5ff407678f 100644 --- a/libmpdvdkit2/libdvdcss.c +++ b/libmpdvdkit2/libdvdcss.c @@ -113,10 +113,6 @@ #include "ioctl.h" #include "device.h" -#ifdef __CYGWIN__ -#define SYS_CYGWIN -#endif - #ifndef HAVE_MPLAYER #include "get_path.c" #else