summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2002-06-24 11:45:45 +0000
committerbde <bde@FreeBSD.org>2002-06-24 11:45:45 +0000
commitc7ec6be4fb2c243155bcba7a41262fe683933ea9 (patch)
treec193658c2ab5ad63685a52ff5cb6a20de1d24e85 /sys
parentbfedcf9f1f782f1c2f33780907e983deffcaecb0 (diff)
downloadFreeBSD-src-c7ec6be4fb2c243155bcba7a41262fe683933ea9.zip
FreeBSD-src-c7ec6be4fb2c243155bcba7a41262fe683933ea9.tar.gz
Include <sys/types.h> in the !_KERNEL case so that this file is
self-sufficient in that case (it needs dev_t). This is normal pollution for most headers that define ioctl numbers.
Diffstat (limited to 'sys')
-rw-r--r--sys/sys/snoop.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/sys/snoop.h b/sys/sys/snoop.h
index ca28a2c..0207060 100644
--- a/sys/sys/snoop.h
+++ b/sys/sys/snoop.h
@@ -18,6 +18,9 @@
#ifndef _SYS_SNOOP_H_
#define _SYS_SNOOP_H_
+#ifndef _KERNEL
+#include <sys/types.h>
+#endif
#include <sys/ioccom.h>
/*
OpenPOWER on IntegriCloud