diff options
author | John Terpstra <jht@samba.org> | 2003-06-15 06:07:53 +0000 |
---|---|---|
committer | John Terpstra <jht@samba.org> | 2003-06-15 06:07:53 +0000 |
commit | 1e445fb4220cdf4700dd9d1850a42746a1065c5a (patch) | |
tree | e80628d34e43424f59f3b45d80192d70d0433a8d /source/include | |
parent | 56d2049561e5d5c22ac9d76cb013643083d9644e (diff) | |
download | samba-1e445fb4220cdf4700dd9d1850a42746a1065c5a.tar.gz samba-1e445fb4220cdf4700dd9d1850a42746a1065c5a.tar.xz samba-1e445fb4220cdf4700dd9d1850a42746a1065c5a.zip |
Patch from vorlon@debian.org, see bugzilal #122
Samba should preferentially use the locale information from the native system,
and only fall back on 'display charset' if this is unavailable or unsupported.
Diffstat (limited to 'source/include')
-rw-r--r-- | source/include/includes.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source/include/includes.h b/source/include/includes.h index 3dbe6d10934..edaeda3abed 100644 --- a/source/include/includes.h +++ b/source/include/includes.h @@ -441,6 +441,14 @@ #include <attr/xattr.h> #endif +#if HAVE_LOCALE_H +#include <locale.h> +#endif + +#if HAVE_LANGINFO_H +#include <langinfo.h> +#endif + /* Special macros that are no-ops except when run under Valgrind on * x86. They've moved a little bit from valgrind 1.0.4 to 1.9.4 */ #if HAVE_VALGRIND_MEMCHECK_H |