summaryrefslogtreecommitdiff
path: root/source4/include
diff options
context:
space:
mode:
Diffstat (limited to 'source4/include')
-rw-r--r--source4/include/system/iconv.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/include/system/iconv.h b/source4/include/system/iconv.h
index bace51c029..a0c1c18fa2 100644
--- a/source4/include/system/iconv.h
+++ b/source4/include/system/iconv.h
@@ -33,6 +33,10 @@
#include <ctype.h>
#endif
+#ifdef HAVE_LOCALE_H
+#include <locale.h>
+#endif
+
/* needed for some systems without iconv. Doesn't really matter
what error code we use */
#ifndef EILSEQ