Fix a compile error on Win32.
authorAndrej Kacian <ticho@claws-mail.org>
Fri, 19 Feb 2016 22:18:28 +0000 (23:18 +0100)
committerAndrej Kacian <ticho@claws-mail.org>
Fri, 19 Feb 2016 22:18:28 +0000 (23:18 +0100)
src/common/utils.c

index aad985d..1197b35 100644 (file)
@@ -49,7 +49,9 @@
 #include <ctype.h>
 #include <errno.h>
 #include <sys/param.h>
+#ifndef G_OS_WIN32
 #include <sys/socket.h>
+#endif
 
 #if (HAVE_WCTYPE_H && HAVE_WCHAR_H)
 #  include <wchar.h>