summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authormike <mike@FreeBSD.org>2002-04-01 21:13:17 +0000
committermike <mike@FreeBSD.org>2002-04-01 21:13:17 +0000
commit524d70a50eae4f1866431b947726129d7d2fb60c (patch)
treec2fb601f8a94d5609dbba619d8980bc4a516df48 /usr.sbin
parente930ebd72174f8d35483a98289f930069f486ccb (diff)
downloadFreeBSD-src-524d70a50eae4f1866431b947726129d7d2fb60c.zip
FreeBSD-src-524d70a50eae4f1866431b947726129d7d2fb60c.tar.gz
Include <string.h> for some prototypes, rather than depending on
pollution from <strings.h>.
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/arp/arp.c1
-rw-r--r--usr.sbin/fdformat/fdformat.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/usr.sbin/arp/arp.c b/usr.sbin/arp/arp.c
index 3c5866d..9674f83 100644
--- a/usr.sbin/arp/arp.c
+++ b/usr.sbin/arp/arp.c
@@ -78,6 +78,7 @@ static const char rcsid[] =
#include <paths.h>
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#include <strings.h>
#include <unistd.h>
diff --git a/usr.sbin/fdformat/fdformat.c b/usr.sbin/fdformat/fdformat.c
index 0e037b4..0e624de 100644
--- a/usr.sbin/fdformat/fdformat.c
+++ b/usr.sbin/fdformat/fdformat.c
@@ -37,6 +37,7 @@
#include <paths.h>
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#include <strings.h>
#include <sysexits.h>
#include <unistd.h>
OpenPOWER on IntegriCloud