aboutsummaryrefslogtreecommitdiffstats
path: root/src/audioOutputs
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-10-08 10:49:29 +0200
committerMax Kellermann <max@duempel.org>2008-10-08 10:49:29 +0200
commit71351160b1b6fd4203f27f9159ae39a476483e1a (patch)
tree03d42cd94df49372c3ac05034eb6e1e0f91d3077 /src/audioOutputs
parentca68b1c80a29cb4862c6b732b339a5cbcfcecf51 (diff)
downloadmpd-71351160b1b6fd4203f27f9159ae39a476483e1a.tar.gz
mpd-71351160b1b6fd4203f27f9159ae39a476483e1a.tar.xz
mpd-71351160b1b6fd4203f27f9159ae39a476483e1a.zip
don't include os_compat.h
When there are standardized headers, use these instead of the bloated os_compat.h.
Diffstat (limited to '')
-rw-r--r--src/audioOutputs/audioOutput_fifo.c4
-rw-r--r--src/audioOutputs/audioOutput_jack.c2
-rw-r--r--src/audioOutputs/audioOutput_oss.c4
-rw-r--r--src/audioOutputs/audioOutput_shout.c2
4 files changed, 12 insertions, 0 deletions
diff --git a/src/audioOutputs/audioOutput_fifo.c b/src/audioOutputs/audioOutput_fifo.c
index 62257f6cb..d7eb91ff6 100644
--- a/src/audioOutputs/audioOutput_fifo.c
+++ b/src/audioOutputs/audioOutput_fifo.c
@@ -24,6 +24,10 @@
#include "../utils.h"
#include "../timer.h"
+#include <sys/types.h>
+#include <sys/stat.h>
+#include <fcntl.h>
+
#define FIFO_BUFFER_SIZE 65536 /* pipe capacity on Linux >= 2.6.11 */
typedef struct _FifoData {
diff --git a/src/audioOutputs/audioOutput_jack.c b/src/audioOutputs/audioOutput_jack.c
index a0e39506c..f26dfcf7a 100644
--- a/src/audioOutputs/audioOutput_jack.c
+++ b/src/audioOutputs/audioOutput_jack.c
@@ -22,6 +22,8 @@
#include "../utils.h"
#include "../log.h"
+#include <assert.h>
+
#include <jack/jack.h>
#include <jack/types.h>
#include <jack/ringbuffer.h>
diff --git a/src/audioOutputs/audioOutput_oss.c b/src/audioOutputs/audioOutput_oss.c
index 39763edcb..487e9a75d 100644
--- a/src/audioOutputs/audioOutput_oss.c
+++ b/src/audioOutputs/audioOutput_oss.c
@@ -26,6 +26,10 @@
#include "../utils.h"
#include "../log.h"
+#include <sys/stat.h>
+#include <sys/ioctl.h>
+#include <fcntl.h>
+
#if defined(__OpenBSD__) || defined(__NetBSD__)
# include <soundcard.h>
#else /* !(defined(__OpenBSD__) || defined(__NetBSD__) */
diff --git a/src/audioOutputs/audioOutput_shout.c b/src/audioOutputs/audioOutput_shout.c
index 6b59044d8..181091d59 100644
--- a/src/audioOutputs/audioOutput_shout.c
+++ b/src/audioOutputs/audioOutput_shout.c
@@ -22,6 +22,8 @@
#include "../utils.h"
+#include <assert.h>
+
#define CONN_ATTEMPT_INTERVAL 60
#define DEFAULT_CONN_TIMEOUT 2