From 7bed2a7099fc7359f6ec24e5f2d7050c7d63b6ac Mon Sep 17 00:00:00 2001 From: Guus Sliepen Date: Sun, 3 Aug 2003 12:37:55 +0000 Subject: [PATCH] Cygwin needs windows.h. --- lib/utils.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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]; -- 2.39.5