aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder/oggvorbis_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/oggvorbis_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 '')
-rw-r--r--src/decoder/oggvorbis_plugin.c1
1 files changed, 1 insertions, 0 deletions
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