aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/listen.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/listen.c b/src/listen.c
index df523e7a6..fe728be43 100644
--- a/src/listen.c
+++ b/src/listen.c
@@ -35,6 +35,7 @@
#include <winsock.h>
#else
#include <netinet/in.h>
+#include <sys/socket.h>
#include <sys/un.h>
#include <netdb.h>
#endif