Cygwin needs windows.h.

This commit is contained in:
Guus Sliepen 2003-08-03 12:37:55 +00:00
parent fa9c00733e
commit 7bed2a7099

View file

@ -80,7 +80,11 @@ void cp_trace()
}
#endif
#ifdef HAVE_MINGW
#if defined(HAVE_MINGW) || defined(HAVE_CYGWIN)
#ifdef HAVE_CYGWIN
#include <w32api/windows.h>
#endif
char *winerror(int err) {
static char buf[1024];