diff options
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | utf8.c | 8 |
2 files changed, 8 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 9da2b0364..2bb5a63c8 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -381,6 +381,7 @@ AC_CHECK_HEADERS([ \ | |||
381 | ia.h \ | 381 | ia.h \ |
382 | iaf.h \ | 382 | iaf.h \ |
383 | inttypes.h \ | 383 | inttypes.h \ |
384 | langinfo.h \ | ||
384 | limits.h \ | 385 | limits.h \ |
385 | locale.h \ | 386 | locale.h \ |
386 | login.h \ | 387 | login.h \ |
@@ -433,6 +434,7 @@ AC_CHECK_HEADERS([ \ | |||
433 | utmp.h \ | 434 | utmp.h \ |
434 | utmpx.h \ | 435 | utmpx.h \ |
435 | vis.h \ | 436 | vis.h \ |
437 | wchar.h \ | ||
436 | ]) | 438 | ]) |
437 | 439 | ||
438 | # lastlog.h requires sys/time.h to be included first on Solaris | 440 | # lastlog.h requires sys/time.h to be included first on Solaris |
@@ -23,7 +23,9 @@ | |||
23 | #include "includes.h" | 23 | #include "includes.h" |
24 | 24 | ||
25 | #include <sys/types.h> | 25 | #include <sys/types.h> |
26 | #include <langinfo.h> | 26 | #ifdef HAVE_LANGINFO_H |
27 | # include <langinfo.h> | ||
28 | #endif | ||
27 | #include <limits.h> | 29 | #include <limits.h> |
28 | #include <stdarg.h> | 30 | #include <stdarg.h> |
29 | #include <stdio.h> | 31 | #include <stdio.h> |
@@ -32,7 +34,9 @@ | |||
32 | #if defined(HAVE_STRNVIS) && defined(HAVE_VIS_H) && !defined(BROKEN_STRNVIS) | 34 | #if defined(HAVE_STRNVIS) && defined(HAVE_VIS_H) && !defined(BROKEN_STRNVIS) |
33 | # include <vis.h> | 35 | # include <vis.h> |
34 | #endif | 36 | #endif |
35 | #include <wchar.h> | 37 | #ifdef HAVE_WCHAR_H |
38 | # include <wchar.h> | ||
39 | #endif | ||
36 | 40 | ||
37 | #include "utf8.h" | 41 | #include "utf8.h" |
38 | 42 | ||