aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2015-03-03 21:17:47 +0100
committerMax Kellermann <max@duempel.org>2015-03-03 21:17:47 +0100
commit9352e253922086139179af38fb4fec5566d4339b (patch)
tree2dba4ae82ccbf013235902e548e044e0e739fa24 /src
parent1c90b0c19dff120fb4fd8acf413ddbdf16addf28 (diff)
downloadmpd-9352e253922086139179af38fb4fec5566d4339b.tar.gz
mpd-9352e253922086139179af38fb4fec5566d4339b.tar.xz
mpd-9352e253922086139179af38fb4fec5566d4339b.zip
input/file: add missing fcntl.h include for posix_fadvise()
Diffstat (limited to 'src')
-rw-r--r--src/input/plugins/FileInputPlugin.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input/plugins/FileInputPlugin.cxx b/src/input/plugins/FileInputPlugin.cxx
index 5f5c85c09..9867e683c 100644
--- a/src/input/plugins/FileInputPlugin.cxx
+++ b/src/input/plugins/FileInputPlugin.cxx
@@ -27,7 +27,7 @@
#include "system/FileDescriptor.hxx"
#include <sys/stat.h>
-#include <unistd.h>
+#include <fcntl.h>
#include <errno.h>
static constexpr Domain file_domain("file");