aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/snoop.h
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>2002-06-24 11:45:45 +0000
committerBruce Evans <bde@FreeBSD.org>2002-06-24 11:45:45 +0000
commitc894109f445d5a23eecd96656ffae494c10d0442 (patch)
treec193658c2ab5ad63685a52ff5cb6a20de1d24e85 /sys/sys/snoop.h
parent22f6ca8d0dc26abbc4f74d2a425168205d1ce536 (diff)
downloadsrc-c894109f445d5a23eecd96656ffae494c10d0442.tar.gz
src-c894109f445d5a23eecd96656ffae494c10d0442.zip
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.
Notes
Notes: svn path=/head/; revision=98746
Diffstat (limited to 'sys/sys/snoop.h')
-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 ca28a2cfc7af..020706095388 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>
/*