summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/sys/diskslice.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/sys/diskslice.h b/sys/sys/diskslice.h
index 4764007..1033c3f7 100644
--- a/sys/sys/diskslice.h
+++ b/sys/sys/diskslice.h
@@ -30,10 +30,12 @@
#define _SYS_DISKSLICE_H_
#ifndef raidframe_has_been_fixed
+#ifdef _KERNEL
#include <sys/ioccom.h>
#define DIOCGSLICEINFO _IOR('d', 111, struct diskslices)
#define DIOCSYNCSLICEINFO _IOW('d', 112, int)
#endif
+#endif
#ifndef sys_boot_code_has_been_fixed
#define BASE_SLICE 2
OpenPOWER on IntegriCloud