--- include/port/win.h.orig Sat Oct 09 14:16:42 1999 +++ include/port/win.h Sat Oct 09 17:00:45 1999 @@ -9,3 +9,8 @@ #define tzname _tzname /* should be in time.h? */ #define USE_POSIX_TIME #define HAVE_INT_TIMEZONE /* has int _timezone */ + +#include +#if (CYGWIN_VERSION_API_MAJOR >= 0) && (CYGWIN_VERSION_API_MINOR >= 8) +#define sys_nerr _sys_nerr +#endif