mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
Add langinfo.h to the system/locale.h
This patch for Samba4. It's not really inspired by any real need, just for the consistency. We define replace/system/locale.h as a generic header, that includes all locale related headers and we are using nl_langinfo at least in Samba3. So, it would be consistent to add yet another locale-related header to the set of locale.h headers. Here is the patch. With regards, Timur Bakeyev. Signed-off-by: Stefan Metzmacher <metze@samba.org>
This commit is contained in:
parent
11332e106c
commit
40178dd81e
@ -119,7 +119,7 @@ AC_VERIFY_C_PROTOTYPE([struct group *getgrent_r(struct group *src, char *buf, si
|
||||
AC_CHECK_FUNCS(getgrouplist)
|
||||
|
||||
# locale
|
||||
AC_CHECK_HEADERS(ctype.h locale.h)
|
||||
AC_CHECK_HEADERS(ctype.h locale.h langinfo.h)
|
||||
|
||||
# glob
|
||||
AC_CHECK_HEADERS(fnmatch.h)
|
||||
|
@ -35,4 +35,8 @@
|
||||
#include <locale.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_LANGINFO_H
|
||||
#include <langinfo.h>
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user