aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/decoder/flac_plugin.c1
-rw-r--r--src/decoder/mpc_plugin.c1
-rw-r--r--src/decoder/oggflac_plugin.c1
-rw-r--r--src/decoder/oggvorbis_plugin.c1
-rw-r--r--src/decoder/wavpack_plugin.c1
5 files changed, 5 insertions, 0 deletions
diff --git a/src/decoder/flac_plugin.c b/src/decoder/flac_plugin.c
index 09757f091..ea5cc6320 100644
--- a/src/decoder/flac_plugin.c
+++ b/src/decoder/flac_plugin.c
@@ -19,6 +19,7 @@
#include "_flac_common.h"
#include <assert.h>
+#include <unistd.h>
/* this code was based on flac123, from flac-tools */
diff --git a/src/decoder/mpc_plugin.c b/src/decoder/mpc_plugin.c
index da49425fa..19a0e2409 100644
--- a/src/decoder/mpc_plugin.c
+++ b/src/decoder/mpc_plugin.c
@@ -20,6 +20,7 @@
#include <mpcdec/mpcdec.h>
#include <glib.h>
+#include <unistd.h>
typedef struct _MpcCallbackData {
struct input_stream *inStream;
diff --git a/src/decoder/oggflac_plugin.c b/src/decoder/oggflac_plugin.c
index 782cd361b..c2dfa3154 100644
--- a/src/decoder/oggflac_plugin.c
+++ b/src/decoder/oggflac_plugin.c
@@ -23,6 +23,7 @@
#include "_ogg_common.h"
#include <OggFLAC/seekable_stream_decoder.h>
+#include <unistd.h>
static void oggflac_cleanup(FlacData * data,
OggFLAC__SeekableStreamDecoder * decoder)
diff --git a/src/decoder/oggvorbis_plugin.c b/src/decoder/oggvorbis_plugin.c
index 3a5614fd0..9ec24e426 100644
--- a/src/decoder/oggvorbis_plugin.c
+++ b/src/decoder/oggvorbis_plugin.c
@@ -38,6 +38,7 @@
#include <glib.h>
#include <errno.h>
#include <stdlib.h>
+#include <unistd.h>
#ifdef WORDS_BIGENDIAN
#define OGG_DECODE_USE_BIGENDIAN 1
diff --git a/src/decoder/wavpack_plugin.c b/src/decoder/wavpack_plugin.c
index 519f5bf6e..70a02f284 100644
--- a/src/decoder/wavpack_plugin.c
+++ b/src/decoder/wavpack_plugin.c
@@ -24,6 +24,7 @@
#include <wavpack/wavpack.h>
#include <glib.h>
+#include <unistd.h>
/* pick 1020 since its devisible for 8,16,24, and 32-bit audio */
#define CHUNK_SIZE 1020