chiark / gitweb /
Sources, by analogy with sinks
[disorder] / lib / syscalls.h
index af60335d83796810b9ab3fd4a9c873b509bbdc17..ea6dbafb87cec0b60ba3ee0fde0215844c3e866e 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);