Cygwin. This is done in winsup/cygwin/include/cygwin/types.h now.
+2003-12-01 Corinna Vinschen <corinna@vinschen.de>
+
+ * libc/include/sys/fcntl.h: Don't define struct flock when on
+ Cygwin. This is done in winsup/cygwin/include/cygwin/types.h now.
+
2003-11-28 Christopher Faylor <cgf@redhat.com>
* libc/include/sys/signal.h: Use system specific signal file when
/*#include <sys/stdtypes.h>*/
+#ifndef __CYGWIN__
/* file segment locking set data type - information passed to system by user */
struct flock {
short l_type; /* F_RDLCK, F_WRLCK, or F_UNLCK */
short l_pid; /* returned with F_GETLK */
short l_xxx; /* reserved for future use */
};
+#endif /* __CYGWIN__ */
#ifndef _POSIX_SOURCE
/* extended file segment locking set data type */