Include <fcntl.h> so that this doesn't depend on the KERNEL version

of <sys/file.h> including <sys/fcntl.h>.  Only the !KERNEL version
of <sys/file.h> will do that when I unspam the kernel headers.
This commit is contained in:
Bruce Evans 1996-09-29 19:25:10 +00:00
parent 3b72a1cdd4
commit 5d98ce7598
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=18570
2 changed files with 2 additions and 0 deletions

View File

@ -77,6 +77,7 @@ static char sccsid[] = "@(#)fstat.c 8.1 (Berkeley) 6/6/93";
#include <ctype.h>
#include <errno.h>
#include <fcntl.h>
#include <kvm.h>
#include <nlist.h>
#include <paths.h>

View File

@ -67,6 +67,7 @@ static char sccsid[] = "@(#)pstat.c 8.9 (Berkeley) 2/16/94";
#include <sys/sysctl.h>
#include <err.h>
#include <fcntl.h>
#include <kvm.h>
#include <limits.h>
#include <nlist.h>