aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-04-23 12:53:19 +0200
committerMax Kellermann <max@duempel.org>2014-04-23 12:53:19 +0200
commit7ecf4ad54d0d486a7fc0cc2ddb8e996a249768da (patch)
tree4ee367a3e96bcc43aa9114f1bb2126a1d141d37b
parent1c02b4b9f4147521d466e14784c5f3cc14b7f6a9 (diff)
downloadmpd-7ecf4ad54d0d486a7fc0cc2ddb8e996a249768da.tar.gz
mpd-7ecf4ad54d0d486a7fc0cc2ddb8e996a249768da.tar.xz
mpd-7ecf4ad54d0d486a7fc0cc2ddb8e996a249768da.zip
input/nfs: add missing string.h include
For strrchr(). Fixes build failure.
-rw-r--r--src/input/plugins/NfsInputPlugin.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/input/plugins/NfsInputPlugin.cxx b/src/input/plugins/NfsInputPlugin.cxx
index c16698b1c..5081eff27 100644
--- a/src/input/plugins/NfsInputPlugin.cxx
+++ b/src/input/plugins/NfsInputPlugin.cxx
@@ -29,6 +29,7 @@ extern "C" {
#include <nfsc/libnfs.h>
}
+#include <string.h>
#include <sys/stat.h>
#include <fcntl.h>