WIP
[m6w6/libmemcached] / src / util / instance.cc
index 8f5d17383d95d3add0c7e5f0c6a693178328e8ff..f136d7b7d05f788fabd8a2a0537973ae3ffd39e9 100644 (file)
@@ -46,7 +46,9 @@
 #include <netinet/in.h>
 #include <poll.h>
 #include <sstream>
-#include <sys/socket.h>
+#ifdef HAVE_SYS_SOCKET_H
+#  include <sys/socket.h>
+#endif
 #include <sys/types.h>
 
 #ifdef HAVE_UNISTD_H