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.
This commit is contained in:
Warner Losh 2007-12-29 05:15:54 +00:00
parent c0523a3bb5
commit ee4f10a0e0
2 changed files with 2 additions and 0 deletions

View File

@ -30,6 +30,7 @@
__FBSDID("$FreeBSD$");
#include <arpa/inet.h>
#include <sys/types.h>
#include <err.h>
#include <stdarg.h>
#include <stdio.h>

View File

@ -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"