diff options
Diffstat (limited to 'usr.sbin/sup/lib/expand.c')
-rw-r--r-- | usr.sbin/sup/lib/expand.c | 4 |
1 files changed, 2 insertions, 2 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); |