summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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>
/*