aboutsummaryrefslogtreecommitdiff
path: root/sbin/dump/dumprmt.c
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2000-04-14 06:15:01 +0000
committerWarner Losh <imp@FreeBSD.org>2000-04-14 06:15:01 +0000
commit37736675d1690425bccb9b2ba5f935f456888bc3 (patch)
tree70222ba0d15dac853c34cdd1714789c83b88e174 /sbin/dump/dumprmt.c
parent71e93b396118c7f8e8fe8c25d84337307210b776 (diff)
Notes
Diffstat (limited to 'sbin/dump/dumprmt.c')
-rw-r--r--sbin/dump/dumprmt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/dump/dumprmt.c b/sbin/dump/dumprmt.c
index b6563e529dc9..ffc009dfa2c6 100644
--- a/sbin/dump/dumprmt.c
+++ b/sbin/dump/dumprmt.c
@@ -63,6 +63,7 @@ static const char rcsid[] =
#include <pwd.h>
#include <stdio.h>
#ifdef __STDC__
+#include <errno.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
@@ -357,7 +358,6 @@ rmtreply(cmd)
{
register char *cp;
char code[30], emsg[BUFSIZ];
- extern int errno;
rmtgets(code, sizeof (code));
if (*code == 'E' || *code == 'F') {