summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/contact.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/contact.h b/src/contact.h
index c7ba7461..d301e293 100644
--- a/src/contact.h
+++ b/src/contact.h
@@ -32,16 +32,7 @@
#include "olpc-activity.h"
#endif
-#ifdef G_OS_WIN32
-#include <winsock2.h>
-#include <ws2tcpip.h>
-#include <windows.h>
-
-/* Winsock makes some inappropriately-namespaced definitions */
-#undef interface
-#else
-#include <netinet/in.h>
-#endif
+#include <gibber/gibber-sockets.h>
#include <wocky/wocky.h>