summaryrefslogtreecommitdiffstats
path: root/sys/cddl/compat/opensolaris/sys/systm.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/cddl/compat/opensolaris/sys/systm.h')
-rw-r--r--sys/cddl/compat/opensolaris/sys/systm.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/cddl/compat/opensolaris/sys/systm.h b/sys/cddl/compat/opensolaris/sys/systm.h
index d4ef17c..136960e 100644
--- a/sys/cddl/compat/opensolaris/sys/systm.h
+++ b/sys/cddl/compat/opensolaris/sys/systm.h
@@ -29,10 +29,11 @@
#ifndef _OPENSOLARIS_SYS_SYSTM_H_
#define _OPENSOLARIS_SYS_SYSTM_H_
+#ifdef _KERNEL
+
#include <sys/param.h>
#include_next <sys/systm.h>
-#ifdef _KERNEL
#include <sys/string.h>
#define PAGESIZE PAGE_SIZE
OpenPOWER on IntegriCloud