summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sup/lib
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/sup/lib')
-rw-r--r--usr.sbin/sup/lib/expand.c4
-rw-r--r--usr.sbin/sup/lib/scan.c7
2 files changed, 7 insertions, 4 deletions
diff --git a/usr.sbin/sup/lib/expand.c b/usr.sbin/sup/lib/expand.c
index ff4b094..b909efc 100644
--- a/usr.sbin/sup/lib/expand.c
+++ b/usr.sbin/sup/lib/expand.c
@@ -61,7 +61,7 @@
*/
#include <sys/param.h>
#include <sys/stat.h>
-#include <sys/dir.h>
+#include <dirent.h>
#include <pwd.h>
#include <ctype.h>
#include <libc.h>
@@ -159,7 +159,7 @@ endit:
static matchdir(pattern)
char *pattern;
{
- register struct direct *dp;
+ register struct dirent *dp;
DIR *dirp;
dirp = opendir(path);
diff --git a/usr.sbin/sup/lib/scan.c b/usr.sbin/sup/lib/scan.c
index edb42ea..0823e4d 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;
OpenPOWER on IntegriCloud