summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorgreen <green@FreeBSD.org>2000-08-06 17:03:09 +0000
committergreen <green@FreeBSD.org>2000-08-06 17:03:09 +0000
commitb98ae04f64dc0a0607bbebacf98c61cf1ea49a8b (patch)
tree2c615f401a0324d6384cf305de343bb60b365999 /lib
parent0353c0fbd4389f3a719b3743f557099b8fe9926f (diff)
downloadFreeBSD-src-b98ae04f64dc0a0607bbebacf98c61cf1ea49a8b.zip
FreeBSD-src-b98ae04f64dc0a0607bbebacf98c61cf1ea49a8b.tar.gz
Good, fixing the header showed incorrect usage of it! #define _KERNEL
here for the include of sys/select.h.
Diffstat (limited to 'lib')
-rw-r--r--lib/libkvm/kvm_proc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libkvm/kvm_proc.c b/lib/libkvm/kvm_proc.c
index 9467637..7fc5838 100644
--- a/lib/libkvm/kvm_proc.c
+++ b/lib/libkvm/kvm_proc.c
@@ -54,6 +54,9 @@ static char sccsid[] = "@(#)kvm_proc.c 8.3 (Berkeley) 9/23/93";
#include <sys/exec.h>
#include <sys/stat.h>
#include <sys/ioctl.h>
+#define _KERNEL
+#include <sys/select.h>
+#undef _KERNEL
#include <sys/tty.h>
#include <sys/file.h>
#include <stdio.h>
OpenPOWER on IntegriCloud