Buffered socket IO wrappers
[disorder] / lib / syscalls.h
index af60335..ea6dbaf 100644 (file)
@@ -27,7 +27,9 @@ struct sockaddr;
 struct sigaction;
 struct timezone;
 
-#include <sys/socket.h>
+#if HAVE_SYS_SOCKET_H
+# include <sys/socket.h>
+#endif
 #include <signal.h>
 
 pid_t xfork(void);