summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/colldef/Makefile2
-rw-r--r--usr.bin/colldef/parse.y3
2 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/colldef/Makefile b/usr.bin/colldef/Makefile
index fd59a6c..8e32b7f 100644
--- a/usr.bin/colldef/Makefile
+++ b/usr.bin/colldef/Makefile
@@ -3,7 +3,7 @@
PROG= colldef
SRCS= parse.y scan.l y.tab.h
LFLAGS= -8 -i
-CFLAGS+=-I. -I${.CURDIR} -I${.CURDIR}/../../lib/libc/locale
+CFLAGS+=-I. -I${.CURDIR}
CFLAGS+=-DCOLLATE_DEBUG -DYY_NO_UNPUT -DYY_NO_INPUT
LIBADD= l
diff --git a/usr.bin/colldef/parse.y b/usr.bin/colldef/parse.y
index 1c04874..44a62cd 100644
--- a/usr.bin/colldef/parse.y
+++ b/usr.bin/colldef/parse.y
@@ -32,12 +32,13 @@ __FBSDID("$FreeBSD$");
#include <sys/types.h>
#include <arpa/inet.h>
#include <err.h>
+#include <limits.h>
#include <stdarg.h>
#include <stdio.h>
+#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <sysexits.h>
-#include "collate.h"
#include "common.h"
extern FILE *yyin;
OpenPOWER on IntegriCloud