summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/geom/geom_bsd_enc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/geom/geom_bsd_enc.c b/sys/geom/geom_bsd_enc.c
index 46415b8..8292497 100644
--- a/sys/geom/geom_bsd_enc.c
+++ b/sys/geom/geom_bsd_enc.c
@@ -46,6 +46,8 @@
#include <sys/disklabel.h>
#ifdef _KERNEL
#include <sys/systm.h>
+#else
+#include <string.h>
#endif
void
OpenPOWER on IntegriCloud