projects
/
tinc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa9c007
)
Cygwin needs windows.h.
author
Guus Sliepen
<guus@tinc-vpn.org>
Sun, 3 Aug 2003 12:37:55 +0000
(12:37 +0000)
committer
Guus Sliepen
<guus@tinc-vpn.org>
Sun, 3 Aug 2003 12:37:55 +0000
(12:37 +0000)
lib/utils.c
patch
|
blob
|
history
diff --git
a/lib/utils.c
b/lib/utils.c
index
6b3dd23
..
43abf96
100644
(file)
--- 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 <w32api/windows.h>
+#endif
+
char *winerror(int err) {
static char buf[1024];