diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/replace/system/config.m4 | 2 | ||||
-rw-r--r-- | lib/replace/system/locale.h | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/lib/replace/system/config.m4 b/lib/replace/system/config.m4 index e2196586ad..39c2f58283 100644 --- a/lib/replace/system/config.m4 +++ b/lib/replace/system/config.m4 @@ -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) diff --git a/lib/replace/system/locale.h b/lib/replace/system/locale.h index e73a9bb274..504a3bb470 100644 --- a/lib/replace/system/locale.h +++ b/lib/replace/system/locale.h @@ -35,4 +35,8 @@ #include <locale.h> #endif +#ifdef HAVE_LANGINFO_H +#include <langinfo.h> +#endif + #endif |