aboutsummaryrefslogtreecommitdiffstats
path: root/src/charConv.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/charConv.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/charConv.c b/src/charConv.c
index 71a86e7d7..a4b596efe 100644
--- a/src/charConv.c
+++ b/src/charConv.c
@@ -20,6 +20,7 @@
#include "mpd_types.h"
#include "utf8.h"
#include "utils.h"
+#include "path.h"
#include <stdlib.h>
#include <errno.h>
@@ -40,7 +41,7 @@ static mpd_sint8 char_conv_use_iconv;
-1 is to use utf8ToLatin1*/
static mpd_sint8 char_conv_latin1ToUtf8;
-#define BUFFER_SIZE 1024
+#define BUFFER_SIZE MPD_PATH_MAX
static void closeCharSetConversion(void);