HCoop
/
bpt
/
guile.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Do not include <winsock2.h> on Cygwin even when we have it.
[bpt/guile.git]
/
libguile
/
posix.c
diff --git
a/libguile/posix.c
b/libguile/posix.c
index
066e0f9
..
e741697
100644
(file)
--- a/
libguile/posix.c
+++ b/
libguile/posix.c
@@
-96,7
+96,8
@@
extern char *ttyname();
#ifdef HAVE_IO_H
#include <io.h>
#endif
-#ifdef HAVE_WINSOCK2_H
+#if defined (HAVE_WINSOCK2_H) \
+ && !(defined (__CYGWIN32__) || defined (__CYGWIN__))
#include <winsock2.h>
#endif