From: Guus Sliepen Date: Sun, 3 Aug 2003 12:37:55 +0000 (+0000) Subject: Cygwin needs windows.h. X-Git-Tag: import-tinc-1.1~785^2~106 X-Git-Url: https://git.meshlink.io/?a=commitdiff_plain;h=7bed2a7099fc7359f6ec24e5f2d7050c7d63b6ac;p=meshlink Cygwin needs windows.h. --- diff --git a/lib/utils.c b/lib/utils.c index 6b3dd237..43abf96e 100644 --- a/lib/utils.c +++ b/lib/utils.c @@ -80,7 +80,11 @@ void cp_trace() } #endif -#ifdef HAVE_MINGW +#if defined(HAVE_MINGW) || defined(HAVE_CYGWIN) +#ifdef HAVE_CYGWIN +#include +#endif + char *winerror(int err) { static char buf[1024];