summaryrefslogtreecommitdiffstats
path: root/sbin/newfs
diff options
context:
space:
mode:
authorcharnier <charnier@FreeBSD.org>1998-07-16 12:04:52 +0000
committercharnier <charnier@FreeBSD.org>1998-07-16 12:04:52 +0000
commitdaf815e5f29eef1ce2a548e417dc3262e89c4099 (patch)
tree8cfeeacd96f3445789d0900460c2fd3a9cbc9442 /sbin/newfs
parent4ec71fc1045784d29f140797d064b86d355052f4 (diff)
downloadFreeBSD-src-daf815e5f29eef1ce2a548e417dc3262e89c4099.zip
FreeBSD-src-daf815e5f29eef1ce2a548e417dc3262e89c4099.tar.gz
Make it compile again in the !__STDC__ case.
Found by: Bruce.
Diffstat (limited to 'sbin/newfs')
-rw-r--r--sbin/newfs/newfs.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sbin/newfs/newfs.c b/sbin/newfs/newfs.c
index c9dbb37..80cbf52 100644
--- a/sbin/newfs/newfs.c
+++ b/sbin/newfs/newfs.c
@@ -42,7 +42,7 @@ static const char copyright[] =
static char sccsid[] = "@(#)newfs.c 8.13 (Berkeley) 5/1/95";
#endif
static const char rcsid[] =
- "$Id$";
+ "$Id: newfs.c,v 1.20 1998/07/15 06:28:05 charnier Exp $";
#endif /* not lint */
/*
@@ -54,6 +54,8 @@ static const char rcsid[] =
#include <sys/file.h>
#include <sys/mount.h>
+#include <ufs/ufs/dir.h>
+#include <ufs/ufs/dinode.h>
#include <ufs/ffs/fs.h>
#include <ufs/ufs/ufsmount.h>
@@ -74,6 +76,8 @@ static const char rcsid[] =
#if __STDC__
#include <stdarg.h>
+#else
+#include <varargs.h>
#endif
#include "mntopts.h"
OpenPOWER on IntegriCloud