diff options
author | bapt <bapt@FreeBSD.org> | 2015-11-21 10:52:32 +0000 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2015-11-21 10:52:32 +0000 |
commit | fff88089c8d9c74166762d355aaa2b4e743a8b4a (patch) | |
tree | 53875fa4de197f3108198d5acdb23abeec8bcaa0 /usr.bin | |
parent | 1ad504c2e11d5d784bf6bae3b6bd824393467f19 (diff) | |
download | FreeBSD-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/Makefile | 2 | ||||
-rw-r--r-- | usr.bin/colldef/parse.y | 3 |
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; |