summaryrefslogtreecommitdiff
path: root/junklib.c
diff options
context:
space:
mode:
Diffstat (limited to 'junklib.c')
-rw-r--r--junklib.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/junklib.c b/junklib.c
index 98f7471e..3439ea59 100644
--- a/junklib.c
+++ b/junklib.c
@@ -23,6 +23,13 @@
#include "playlist.h"
#include "utf8.h"
#include "plugins.h"
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+#if HAVE_LIBICONV
+#define iconv_open libiconv_open
+#define iconv_close libiconv_close
+#endif
//#define trace(...) { fprintf(stderr, __VA_ARGS__); }
#define trace(fmt,...)