summaryrefslogtreecommitdiffstats
path: root/usr.bin/colldef
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2007-12-29 05:15:54 +0000
committerimp <imp@FreeBSD.org>2007-12-29 05:15:54 +0000
commit48aadec12af905550d9901443487a1008758317c (patch)
treec14c51bf0bf8eca54811f95f4a8f17047c90c0d2 /usr.bin/colldef
parent7b1f74b3d24e99955f39ed3a5ab2f55035fcbc14 (diff)
downloadFreeBSD-src-48aadec12af905550d9901443487a1008758317c.zip
FreeBSD-src-48aadec12af905550d9901443487a1008758317c.tar.gz
Some systems need the types defined in sys/types.h, but lack the
sys/types.h polution that FreeBSD has in one of its include files. Since this is a bootstrap tool, include more than is strictly necessary for FreeBSD.
Diffstat (limited to 'usr.bin/colldef')
-rw-r--r--usr.bin/colldef/parse.y1
-rw-r--r--usr.bin/colldef/scan.l1
2 files changed, 2 insertions, 0 deletions
diff --git a/usr.bin/colldef/parse.y b/usr.bin/colldef/parse.y
index 375aed8..0cd6574 100644
--- a/usr.bin/colldef/parse.y
+++ b/usr.bin/colldef/parse.y
@@ -30,6 +30,7 @@
__FBSDID("$FreeBSD$");
#include <arpa/inet.h>
+#include <sys/types.h>
#include <err.h>
#include <stdarg.h>
#include <stdio.h>
diff --git a/usr.bin/colldef/scan.l b/usr.bin/colldef/scan.l
index aeeff14..dbc0eec 100644
--- a/usr.bin/colldef/scan.l
+++ b/usr.bin/colldef/scan.l
@@ -36,6 +36,7 @@ __FBSDID("$FreeBSD$");
#include <unistd.h>
#include <string.h>
#include <sysexits.h>
+#include <sys/types.h>
#include "common.h"
#include "y.tab.h"
OpenPOWER on IntegriCloud