aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder/oggflac_plugin.c
diff options
context:
space:
mode:
authorMax Kellermann <mk@cm4all.com>2008-11-24 10:33:08 +0100
committerMax Kellermann <mk@cm4all.com>2008-11-24 10:33:08 +0100
commit14e121af90bff0c3ccb1cd818009a0eaf0d3e87c (patch)
tree14a7142e94e829f115a4f43afad1d4fbc52c4ac1 /src/decoder/oggflac_plugin.c
parentacbfba0698e5f6e3e731043c345f3f21d0a8dbe0 (diff)
downloadmpd-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/oggflac_plugin.c')
-rw-r--r--src/decoder/oggflac_plugin.c1
1 files changed, 1 insertions, 0 deletions
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)