Add compat bits to utf8.c.

This commit is contained in:
Darren Tucker 2016-06-06 11:36:13 +10:00
parent 05c6574652
commit df820722e4
1 changed files with 5 additions and 1 deletions

4
utf8.c
View File

@ -20,6 +20,8 @@
* in particular to sanitize untrusted strings for terminal output.
*/
#include "includes.h"
#include <sys/types.h>
#include <langinfo.h>
#include <limits.h>
@ -27,7 +29,9 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#if defined(HAVE_STRNVIS) && defined(HAVE_VIS_H) && !defined(BROKEN_STRNVIS)
# include <vis.h>
#endif
#include <wchar.h>
#include "utf8.h"