diff options
Diffstat (limited to 'utf8.c')
-rw-r--r-- | utf8.c | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -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 | ||