summaryrefslogtreecommitdiff
path: root/source4/include/system
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-12-10 04:41:56 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:06:28 -0500
commit60c69445f6fa86b27bd697cc8af52b582f620725 (patch)
treed0567afab045d1e684f7f923c5aab6bbb239098f /source4/include/system
parent06fbfade75af40d2d68f86a71a8dd5eaa3ecd0ab (diff)
downloadsamba-60c69445f6fa86b27bd697cc8af52b582f620725.tar.gz
samba-60c69445f6fa86b27bd697cc8af52b582f620725.tar.bz2
samba-60c69445f6fa86b27bd697cc8af52b582f620725.zip
r4124: include locale.h to get LC_ALL in include/system/iconv.h
(This used to be commit 573230ea99136bd66d00bac18effd28b1e5ba76f)
Diffstat (limited to 'source4/include/system')
-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