summaryrefslogtreecommitdiff
path: root/usr.sbin/sup/lib/scan.c
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>1996-09-24 08:08:11 +0000
committerBruce Evans <bde@FreeBSD.org>1996-09-24 08:08:11 +0000
commit0c8ea4d48c74cfc48c410d6c466f191a49f6afbd (patch)
treea7dcc2bf16ed815097f05a03a82f3f704338c35d /usr.sbin/sup/lib/scan.c
parent251d6f360e61546091814671dea25c6e1965db8b (diff)
Notes
Diffstat (limited to 'usr.sbin/sup/lib/scan.c')
-rw-r--r--usr.sbin/sup/lib/scan.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/usr.sbin/sup/lib/scan.c b/usr.sbin/sup/lib/scan.c
index edb42ea6c465..0823e4d1e45e 100644
--- a/usr.sbin/sup/lib/scan.c
+++ b/usr.sbin/sup/lib/scan.c
@@ -28,6 +28,9 @@
**********************************************************************
* HISTORY
* $Log: scan.c,v $
+ * Revision 1.3 1995/12/26 05:10:59 peter
+ * Apply ports/net/sup/patches/patch-ab
+ *
* Revision 1.2 1995/12/26 05:02:48 peter
* Apply ports/net/sup/patches/patch-aa...
*
@@ -101,8 +104,8 @@
#include <sys/types.h>
#include <sys/time.h>
#include <sys/stat.h>
-#include <sys/dir.h>
#include <sys/file.h>
+#include <dirent.h>
#include "sup.h"
/*************************
@@ -711,7 +714,7 @@ listdir (name,always) /* expand directory */
char *name;
int always;
{
- struct direct *dentry;
+ struct dirent *dentry;
register DIR *dirp;
char ename[STRINGLENGTH],newname[STRINGLENGTH],filename[STRINGLENGTH];
register char *p,*newp;