Cygwin needs windows.h.
This commit is contained in:
parent
fa9c00733e
commit
7bed2a7099
1 changed files with 5 additions and 1 deletions
|
@ -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];
|
||||
|
||||
|
|
Loading…
Reference in a new issue