summaryrefslogtreecommitdiffstats
path: root/sbin/restore
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/restore
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/restore')
-rw-r--r--sbin/restore/main.c1
-rw-r--r--sbin/restore/utilities.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/sbin/restore/main.c b/sbin/restore/main.c
index 4637269..7bfe9bb 100644
--- a/sbin/restore/main.c
+++ b/sbin/restore/main.c
@@ -55,6 +55,7 @@ static const char rcsid[] =
#include <paths.h>
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#include <unistd.h>
#include "restore.h"
diff --git a/sbin/restore/utilities.c b/sbin/restore/utilities.c
index b7681f7..1e6ccfc 100644
--- a/sbin/restore/utilities.c
+++ b/sbin/restore/utilities.c
@@ -47,6 +47,7 @@ static const char rcsid[] =
#include <errno.h>
#include <stdio.h>
+#include <stdlib.h>
#include <string.h>
#include <unistd.h>
OpenPOWER on IntegriCloud