aboutsummaryrefslogtreecommitdiff
path: root/sys/cam/cam_xpt.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/cam/cam_xpt.h')
-rw-r--r--sys/cam/cam_xpt.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/cam/cam_xpt.h b/sys/cam/cam_xpt.h
index 2f3f22e713cd..8860e0013792 100644
--- a/sys/cam/cam_xpt.h
+++ b/sys/cam/cam_xpt.h
@@ -32,8 +32,10 @@
#ifndef _CAM_CAM_XPT_H
#define _CAM_CAM_XPT_H 1
+#ifdef _KERNEL
#include <sys/cdefs.h>
#include "opt_printf.h"
+#endif
/* Forward Declarations */
union ccb;