summaryrefslogtreecommitdiff
path: root/src/roomlist-manager.c
diff options
context:
space:
mode:
authorSiraj Razick <siraj.razick@collabora.co.uk>2012-02-17 20:05:42 -0500
committerOlli Salli <olli.salli@collabora.co.uk>2012-02-22 20:43:52 +0200
commitfbaff05740530f3df8519ac2c37503c2d0401a2f (patch)
treec31d3a9bc6ed71fe23e2c3b5ffcc28ae8251b1dc /src/roomlist-manager.c
parent8bf98188488163814ee6348d432254ff15e8690b (diff)
downloadtelepathy-salut-fbaff05740530f3df8519ac2c37503c2d0401a2f.tar.gz
telepath-salut: Include socket headers only on Unix
Unix specific socket headers should not be included unconditionally, since it's not supported by Windows.
Diffstat (limited to 'src/roomlist-manager.c')
-rw-r--r--src/roomlist-manager.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/roomlist-manager.c b/src/roomlist-manager.c
index d07e7a83..b1e57bb6 100644
--- a/src/roomlist-manager.c
+++ b/src/roomlist-manager.c
@@ -21,7 +21,9 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#ifdef G_OS_UNIX
#include <arpa/inet.h>
+#endif
#include "roomlist-manager.h"