aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-01-16 16:04:20 +0100
committerMax Kellermann <max@duempel.org>2009-01-16 17:11:18 +0100
commit2a7d99702fd99a00c9f87177d79e8fea23177232 (patch)
tree2dcaa800e0846e99e9dd8fc6bd8a8890f1461759
parentb19a8505f49f28aa2ca044892f6393fb436f0081 (diff)
downloadmpd-2a7d99702fd99a00c9f87177d79e8fea23177232.tar.gz
mpd-2a7d99702fd99a00c9f87177d79e8fea23177232.tar.xz
mpd-2a7d99702fd99a00c9f87177d79e8fea23177232.zip
listen: explicitly include sys/socket.h
-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