summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortjr <tjr@FreeBSD.org>2003-09-05 16:05:21 +0000
committertjr <tjr@FreeBSD.org>2003-09-05 16:05:21 +0000
commit3bdf2e08b506268b868eadf9fe16c6f62e765f98 (patch)
tree35e26eca6bbf5d3c8c5859aee033d8b0a9a0b0e6
parent8106d775c19fa04e65187624dbeea6626a3ab519 (diff)
downloadFreeBSD-src-3bdf2e08b506268b868eadf9fe16c6f62e765f98.zip
FreeBSD-src-3bdf2e08b506268b868eadf9fe16c6f62e765f98.tar.gz
#include <runetype.h> directly for the definition of _CACHED_RUNES, needed
by ldef.h, rather than relying on GCC-specific pollution from <ctype.h>. Noticed by: Stefan Farfeleder
-rw-r--r--usr.bin/mklocale/lex.l1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.bin/mklocale/lex.l b/usr.bin/mklocale/lex.l
index eeed535..2b3c81f 100644
--- a/usr.bin/mklocale/lex.l
+++ b/usr.bin/mklocale/lex.l
@@ -45,6 +45,7 @@ static char sccsid[] = "@(#)lex.l 8.1 (Berkeley) 6/6/93";
__FBSDID("$FreeBSD$");
#include <ctype.h>
+#include <runetype.h>
#include <stdio.h>
#include <stdlib.h>
OpenPOWER on IntegriCloud