summaryrefslogtreecommitdiffstats
path: root/usr.bin/mklocale
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/mklocale')
-rw-r--r--usr.bin/mklocale/Makefile2
-rw-r--r--usr.bin/mklocale/yacc.y2
2 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/mklocale/Makefile b/usr.bin/mklocale/Makefile
index 0f0978f..9873d4e 100644
--- a/usr.bin/mklocale/Makefile
+++ b/usr.bin/mklocale/Makefile
@@ -4,6 +4,6 @@
PROG= mklocale
WARNS?= 6
SRCS= yacc.y lex.l y.tab.h
-CFLAGS+= -I. -I${.CURDIR}
+CFLAGS+= -I. -I${.CURDIR} -I${.CURDIR}/../../lib/libc/locale
.include <bsd.prog.mk>
diff --git a/usr.bin/mklocale/yacc.y b/usr.bin/mklocale/yacc.y
index fc2df7e..a41d02e 100644
--- a/usr.bin/mklocale/yacc.y
+++ b/usr.bin/mklocale/yacc.y
@@ -48,7 +48,6 @@ __FBSDID("$FreeBSD$");
#include <ctype.h>
#include <err.h>
-#include <runefile.h>
#include <stddef.h>
#include <stdio.h>
#include <stdlib.h>
@@ -57,6 +56,7 @@ __FBSDID("$FreeBSD$");
#include "ldef.h"
#include "extern.h"
+#include "runefile.h"
static void *xmalloc(unsigned int sz);
static uint32_t *xlalloc(unsigned int sz);
OpenPOWER on IntegriCloud