summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/dev/raidframe/rf_types.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/raidframe/rf_types.h b/sys/dev/raidframe/rf_types.h
index 37a5519..3f388fc 100644
--- a/sys/dev/raidframe/rf_types.h
+++ b/sys/dev/raidframe/rf_types.h
@@ -46,7 +46,9 @@
#include <sys/uio.h>
#include <sys/param.h>
+#ifdef _KERNEL
#include <sys/lock.h>
+#endif
/*
* First, define system-dependent types and constants.
OpenPOWER on IntegriCloud