From ee4f10a0e0049f51c63abb76fecc0ac64b576faf Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Sat, 29 Dec 2007 05:15:54 +0000 Subject: [PATCH] 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. --- usr.bin/colldef/parse.y | 1 + usr.bin/colldef/scan.l | 1 + 2 files changed, 2 insertions(+) diff --git a/usr.bin/colldef/parse.y b/usr.bin/colldef/parse.y index 375aed8ac3e0..0cd657481f36 100644 --- a/usr.bin/colldef/parse.y +++ b/usr.bin/colldef/parse.y @@ -30,6 +30,7 @@ __FBSDID("$FreeBSD$"); #include +#include #include #include #include diff --git a/usr.bin/colldef/scan.l b/usr.bin/colldef/scan.l index aeeff1406832..dbc0eec83574 100644 --- a/usr.bin/colldef/scan.l +++ b/usr.bin/colldef/scan.l @@ -36,6 +36,7 @@ __FBSDID("$FreeBSD$"); #include #include #include +#include #include "common.h" #include "y.tab.h"