summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorgrog <grog@FreeBSD.org>2003-06-12 06:17:12 +0000
committergrog <grog@FreeBSD.org>2003-06-12 06:17:12 +0000
commit56abee7676d1983c257997edeb4e85d87209c87d (patch)
treed376fc9df96218fb3ffd6def6ad11a5d6f2cf0c8 /sys
parent0ceb24ed49bb23bcef8b7ebc6b4288f08114c665 (diff)
downloadFreeBSD-src-56abee7676d1983c257997edeb4e85d87209c87d.zip
FreeBSD-src-56abee7676d1983c257997edeb4e85d87209c87d.tar.gz
Silence a warning.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/vinum/vinumparser.c1
-rw-r--r--sys/dev/vinum/vinumutil.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/vinum/vinumparser.c b/sys/dev/vinum/vinumparser.c
index 680cd62..2820ffd 100644
--- a/sys/dev/vinum/vinumparser.c
+++ b/sys/dev/vinum/vinumparser.c
@@ -76,6 +76,7 @@
#include <ctype.h>
#include <errno.h>
#include <fcntl.h>
+#include <string.h>
#define iswhite isspace /* use the ctype macro */
#endif
diff --git a/sys/dev/vinum/vinumutil.c b/sys/dev/vinum/vinumutil.c
index 70f2ccb..5d3fe82 100644
--- a/sys/dev/vinum/vinumutil.c
+++ b/sys/dev/vinum/vinumutil.c
@@ -45,6 +45,7 @@
#include <dev/vinum/statetexts.h>
#ifndef _KERNEL
#include <stdio.h>
+#include <string.h>
extern jmp_buf command_fail; /* return on a failed command */
#endif
OpenPOWER on IntegriCloud