From: Guus Sliepen Date: Sun, 3 Aug 2003 12:37:55 +0000 (+0000) Subject: Cygwin needs windows.h. X-Git-Tag: release-1.0~6 X-Git-Url: https://git.tinc-vpn.org/git/browse?a=commitdiff_plain;h=7bed2a7099fc7359f6ec24e5f2d7050c7d63b6ac;p=tinc 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];