diff options
author | Max Kellermann <mk@cm4all.com> | 2008-11-24 10:33:08 +0100 |
---|---|---|
committer | Max Kellermann <mk@cm4all.com> | 2008-11-24 10:33:08 +0100 |
commit | 14e121af90bff0c3ccb1cd818009a0eaf0d3e87c (patch) | |
tree | 14a7142e94e829f115a4f43afad1d4fbc52c4ac1 /src/decoder | |
parent | acbfba0698e5f6e3e731043c345f3f21d0a8dbe0 (diff) | |
download | mpd-14e121af90bff0c3ccb1cd818009a0eaf0d3e87c.tar.gz mpd-14e121af90bff0c3ccb1cd818009a0eaf0d3e87c.tar.xz mpd-14e121af90bff0c3ccb1cd818009a0eaf0d3e87c.zip |
flac, mpc, ogg, wavpack: include unistd.h for SEEK_SET
SEEK_SET is defined by unistd.h. Explicitly include it.
Diffstat (limited to 'src/decoder')
-rw-r--r-- | src/decoder/flac_plugin.c | 1 | ||||
-rw-r--r-- | src/decoder/mpc_plugin.c | 1 | ||||
-rw-r--r-- | src/decoder/oggflac_plugin.c | 1 | ||||
-rw-r--r-- | src/decoder/oggvorbis_plugin.c | 1 | ||||
-rw-r--r-- | src/decoder/wavpack_plugin.c | 1 |
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 |