summaryrefslogtreecommitdiffstats
path: root/src/libutil/unix-std.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libutil/unix-std.h')
-rw-r--r--src/libutil/unix-std.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libutil/unix-std.h b/src/libutil/unix-std.h
index b1c8b6a02..218a35ffa 100644
--- a/src/libutil/unix-std.h
+++ b/src/libutil/unix-std.h
@@ -77,4 +77,8 @@
#include <libgen.h>
#endif
+#ifdef HAVE_SYS_SOCKET_H
+#include <sys/socket.h>
+#endif
+
#endif