aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/localedef/ctype.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/localedef/ctype.c')
-rw-r--r--usr.bin/localedef/ctype.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/usr.bin/localedef/ctype.c b/usr.bin/localedef/ctype.c
index e6fb5e796372..02e525c5aed2 100644
--- a/usr.bin/localedef/ctype.c
+++ b/usr.bin/localedef/ctype.c
@@ -43,11 +43,13 @@ __FBSDID("$FreeBSD$");
#include <string.h>
#include <sys/types.h>
#include <wchar.h>
-#include <ctype.h>
-#include <wctype.h>
#include <unistd.h>
#include "localedef.h"
#include "parser.h"
+
+/* Always include the defines for the target: */
+#define _DONT_USE_CTYPE_INLINE_ /* Avoid dependencies on runetype.h */
+#include "_ctype.h"
#include "runefile.h"