aboutsummaryrefslogtreecommitdiff
path: root/libsylph
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2014-10-02 03:54:00 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2014-10-02 03:54:00 +0000
commit64e7e1880f5350fe6ddebd81612f4d219608dfd9 (patch)
tree3b5fc487c231be63dd2aa0d879c7ecbc24416669 /libsylph
parent68c79c3d49d35867deeab430c369af96e70bddf9 (diff)
include winsock2.h in socket.h
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@3427 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'libsylph')
-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;