summaryrefslogtreecommitdiffstats
path: root/sbin/badsect
diff options
context:
space:
mode:
authordd <dd@FreeBSD.org>2001-06-24 23:04:23 +0000
committerdd <dd@FreeBSD.org>2001-06-24 23:04:23 +0000
commitef9ae51ffe0b0740160f5ace4bac9572716a5ff3 (patch)
tree5ed494ef479747a729c33dd6fcfc26c15c6fe70a /sbin/badsect
parent50bd3d18aa017e35e13921385b77f731e5d46e2e (diff)
downloadFreeBSD-src-ef9ae51ffe0b0740160f5ace4bac9572716a5ff3.zip
FreeBSD-src-ef9ae51ffe0b0740160f5ace4bac9572716a5ff3.tar.gz
Include missing header files which define functions for which gcc has
builtins (e.g., exit, strcmp).
Diffstat (limited to 'sbin/badsect')
-rw-r--r--sbin/badsect/badsect.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sbin/badsect/badsect.c b/sbin/badsect/badsect.c
index c6972b8..91cdd06 100644
--- a/sbin/badsect/badsect.c
+++ b/sbin/badsect/badsect.c
@@ -67,6 +67,7 @@ static const char rcsid[] =
#include <paths.h>
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#include <unistd.h>
union {
OpenPOWER on IntegriCloud