summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2015-11-21 10:52:32 +0000
committerbapt <bapt@FreeBSD.org>2015-11-21 10:52:32 +0000
commitfff88089c8d9c74166762d355aaa2b4e743a8b4a (patch)
tree53875fa4de197f3108198d5acdb23abeec8bcaa0 /usr.bin
parent1ad504c2e11d5d784bf6bae3b6bd824393467f19 (diff)
downloadFreeBSD-src-fff88089c8d9c74166762d355aaa2b4e743a8b4a.zip
FreeBSD-src-fff88089c8d9c74166762d355aaa2b4e743a8b4a.tar.gz
colldef(1) does not need the libc's internal collate.h header anymore
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