aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/auxstats
diff options
context:
space:
mode:
authorAram Hăvărneanu <aram@mgk.ro>2015-03-22 13:14:41 +0100
committerRuss Cox <rsc@google.com>2015-06-03 15:31:44 +0000
commit0c2926638b9c5f5a9f2f22a300f031ed2dc71979 (patch)
tree5822e1ab8fd06beba792b889e724d2a591c3268e /src/cmd/auxstats
parentbab43f07d31d9fb5058704878fecd629c281af1f (diff)
downloadplan9port-0c2926638b9c5f5a9f2f22a300f031ed2dc71979.tar.gz
plan9port-0c2926638b9c5f5a9f2f22a300f031ed2dc71979.tar.bz2
plan9port-0c2926638b9c5f5a9f2f22a300f031ed2dc71979.zip
all: fix openbsd build
Change-Id: I6eaeebc9b6a4d78ce07efe7680ba8f2eff16462f Reviewed-on: https://plan9port-review.googlesource.com/1230 Reviewed-by: Minux Ma <minux@golang.org> Reviewed-by: Russ Cox <rsc@google.com>
Diffstat (limited to 'src/cmd/auxstats')
-rw-r--r--src/cmd/auxstats/OpenBSD.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cmd/auxstats/OpenBSD.c b/src/cmd/auxstats/OpenBSD.c
index b34f5b10..f800c05c 100644
--- a/src/cmd/auxstats/OpenBSD.c
+++ b/src/cmd/auxstats/OpenBSD.c
@@ -3,11 +3,12 @@
#include <nlist.h>
#include <sys/types.h>
#include <sys/param.h>
+#include <sys/sched.h>
#include <sys/socket.h>
#include <sys/sysctl.h>
#include <sys/time.h>
-#include <sys/dkstat.h>
#include <net/if.h>
+#include <net/if_var.h>
#include <machine/apmvar.h>
#include <sys/ioctl.h>
#include <uvm/uvm_param.h>