summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr.bin/vmstat/vmstat.c1
-rw-r--r--usr.sbin/iostat/iostat.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/usr.bin/vmstat/vmstat.c b/usr.bin/vmstat/vmstat.c
index 31a3238..0f0684e 100644
--- a/usr.bin/vmstat/vmstat.c
+++ b/usr.bin/vmstat/vmstat.c
@@ -54,6 +54,7 @@ static const char sccsid[] = "@(#)vmstat.c 8.1 (Berkeley) 6/6/93";
#include <sys/signal.h>
#include <sys/fcntl.h>
#include <sys/ioctl.h>
+#include <sys/resource.h>
#include <sys/sysctl.h>
#include <sys/vmmeter.h>
diff --git a/usr.sbin/iostat/iostat.c b/usr.sbin/iostat/iostat.c
index d3b746d..3370df2 100644
--- a/usr.sbin/iostat/iostat.c
+++ b/usr.sbin/iostat/iostat.c
@@ -102,6 +102,7 @@
#include <sys/param.h>
#include <sys/errno.h>
+#include <sys/resource.h>
#include <sys/sysctl.h>
#include <err.h>
OpenPOWER on IntegriCloud