aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libsylph/socket.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libsylph/socket.h b/libsylph/socket.h
index 52f4fd42..15bcef70 100644
--- a/libsylph/socket.h
+++ b/libsylph/socket.h
@@ -28,6 +28,9 @@
#if HAVE_NETDB_H
# include <netdb.h>
#endif
+#ifdef G_OS_WIN32
+# include <winsock2.h>
+#endif
typedef struct _SockInfo SockInfo;