aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder/wavpack_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/wavpack_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/wavpack_plugin.c1
1 files changed, 1 insertions, 0 deletions
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