summaryrefslogtreecommitdiff
path: root/gtk/gtkfilesel.c
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2002-11-03 18:17:53 +0000
committerOwen Taylor <otaylor@src.gnome.org>2002-11-03 18:17:53 +0000
commit42bd8a2a0b840a53863707858f075fe2ec6ceed6 (patch)
tree22de4813b3615d9800a210a9d4d591c77c8b93c7 /gtk/gtkfilesel.c
parent0082a6e8c21d0973003c47c976b913d849ab296c (diff)
downloadgtk+-42bd8a2a0b840a53863707858f075fe2ec6ceed6.tar.gz
Remove check for winsock.h since it might show up on Linux+Wine. Instead
Sun Nov 3 13:03:29 2002 Owen Taylor <otaylor@redhat.com> * gtk/gtkfilesel.c configure.in: Remove check for winsock.h since it might show up on Linux+Wine. Instead just conditionalize of G_OS_WIN32. (#97396, Gaute Lindkvist)
Diffstat (limited to 'gtk/gtkfilesel.c')
-rw-r--r--gtk/gtkfilesel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkfilesel.c b/gtk/gtkfilesel.c
index 72b5cccfb8..1d17af5e18 100644
--- a/gtk/gtkfilesel.c
+++ b/gtk/gtkfilesel.c
@@ -51,7 +51,7 @@
#include <windows.h>
#undef STRICT
#endif /* G_OS_WIN32 || G_WITH_CYGWIN */
-#if defined(HAVE_WINSOCK_H) && !defined(G_WITH_CYGWIN)
+#ifdef G_OS_WIN32
#include <winsock.h> /* For gethostname */
#endif