summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr.bin/fstat/fstat.c1
-rw-r--r--usr.sbin/pstat/pstat.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/usr.bin/fstat/fstat.c b/usr.bin/fstat/fstat.c
index fe4b7d0..fbfaacb 100644
--- a/usr.bin/fstat/fstat.c
+++ b/usr.bin/fstat/fstat.c
@@ -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>
diff --git a/usr.sbin/pstat/pstat.c b/usr.sbin/pstat/pstat.c
index 773bfa1..7edf8b7 100644
--- a/usr.sbin/pstat/pstat.c
+++ b/usr.sbin/pstat/pstat.c
@@ -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>
OpenPOWER on IntegriCloud