aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder
diff options
context:
space:
mode:
authorDenis Krjuchkov <denis@crazydev.net>2013-01-11 13:51:39 +0600
committerDenis Krjuchkov <denis@crazydev.net>2013-01-11 13:51:39 +0600
commita98aa666203cad87913303d2f8b9ca07640518c3 (patch)
tree7fc9aa4231dbe86e227cd50d84f16d937898c28b /src/decoder
parent631a26899610e11a6c6456c2a5750dace68958f7 (diff)
downloadmpd-a98aa666203cad87913303d2f8b9ca07640518c3.tar.gz
mpd-a98aa666203cad87913303d2f8b9ca07640518c3.tar.xz
mpd-a98aa666203cad87913303d2f8b9ca07640518c3.zip
string_util.c: provide fallback strndup() implementation
This patch also adds extern "C" { } wrapper around string_util.h to allow its usage in C++ code
Diffstat (limited to 'src/decoder')
-rw-r--r--src/decoder/OpusReader.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/decoder/OpusReader.hxx b/src/decoder/OpusReader.hxx
index 2cfc14118..1fd07b55c 100644
--- a/src/decoder/OpusReader.hxx
+++ b/src/decoder/OpusReader.hxx
@@ -21,6 +21,7 @@
#define MPD_OPUS_READER_HXX
#include "check.h"
+#include "string_util.h"
#include <stdint.h>
#include <string.h>