summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--utf8.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/utf8.c b/utf8.c
index 18ee53858..6445b3766 100644
--- a/utf8.c
+++ b/utf8.c
@@ -20,6 +20,8 @@
20 * in particular to sanitize untrusted strings for terminal output. 20 * in particular to sanitize untrusted strings for terminal output.
21 */ 21 */
22 22
23#include "includes.h"
24
23#include <sys/types.h> 25#include <sys/types.h>
24#include <langinfo.h> 26#include <langinfo.h>
25#include <limits.h> 27#include <limits.h>
@@ -27,7 +29,9 @@
27#include <stdio.h> 29#include <stdio.h>
28#include <stdlib.h> 30#include <stdlib.h>
29#include <string.h> 31#include <string.h>
30#include <vis.h> 32#if defined(HAVE_STRNVIS) && defined(HAVE_VIS_H) && !defined(BROKEN_STRNVIS)
33# include <vis.h>
34#endif
31#include <wchar.h> 35#include <wchar.h>
32 36
33#include "utf8.h" 37#include "utf8.h"