aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2005-03-13 15:48:24 +0000
committerWarren Dukes <warren.dukes@gmail.com>2005-03-13 15:48:24 +0000
commit246832f670c34f8d64d369a9e087c9d0afa0fe91 (patch)
tree5375339a4de4cd7f0f50fb2434566697a56cbbef /src
parentc902326d15055ba5080ec8075e9a23e3ad65c39d (diff)
downloadmpd-246832f670c34f8d64d369a9e087c9d0afa0fe91.tar.gz
mpd-246832f670c34f8d64d369a9e087c9d0afa0fe91.tar.xz
mpd-246832f670c34f8d64d369a9e087c9d0afa0fe91.zip
change some header includes so that we can compile on OS X
git-svn-id: https://svn.musicpd.org/mpd/trunk@3067 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src')
-rw-r--r--src/listen.c3
-rw-r--r--src/listen.h2
2 files changed, 1 insertions, 4 deletions
diff --git a/src/listen.c b/src/listen.c
index 48732b4ea..ebf33bc18 100644
--- a/src/listen.c
+++ b/src/listen.c
@@ -22,12 +22,9 @@
#include "log.h"
#include "utils.h"
-#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>
-#include <sys/types.h>
#include <sys/socket.h>
-#include <sys/time.h>
#include <sys/stat.h>
#include <sys/param.h>
#include <netinet/in.h>
diff --git a/src/listen.h b/src/listen.h
index 771594435..ff889320f 100644
--- a/src/listen.h
+++ b/src/listen.h
@@ -21,10 +21,10 @@
#include "../config.h"
-#include <sys/select.h>
#include <sys/time.h>
#include <sys/types.h>
#include <unistd.h>
+#include <sys/select.h>
void listenOnPort();