summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2003-05-02 19:53:55 +0000
committerphk <phk@FreeBSD.org>2003-05-02 19:53:55 +0000
commit3f52da0d28a02c914cf832a90b5690c421bf1229 (patch)
tree8b9fabbe7f655f72008b866183734ab729345337
parent406073e21a464fdf53a031b29788cfc39341adb9 (diff)
downloadFreeBSD-src-3f52da0d28a02c914cf832a90b5690c421bf1229.zip
FreeBSD-src-3f52da0d28a02c914cf832a90b5690c421bf1229.tar.gz
Pull in bcopy() prototype from <string.h> when compiled in userland.
-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