=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/rdist/expand.c,v retrieving revision 1.13 retrieving revision 1.14 diff -u -r1.13 -r1.14 --- src/usr.bin/rdist/expand.c 2012/11/12 01:14:41 1.13 +++ src/usr.bin/rdist/expand.c 2014/07/05 06:45:00 1.14 @@ -1,4 +1,4 @@ -/* $OpenBSD: expand.c,v 1.13 2012/11/12 01:14:41 guenther Exp $ */ +/* $OpenBSD: expand.c,v 1.14 2014/07/05 06:45:00 guenther Exp $ */ /* * Copyright (c) 1983 Regents of the University of California. @@ -29,6 +29,8 @@ * SUCH DAMAGE. */ +#include + #include "defs.h" #define MAXEARGS 2048 @@ -356,7 +358,7 @@ matchdir(char *pattern) /* quote in pattern */ { struct stat stb; - DIRENTRY *dp; + struct dirent *dp; DIR *dirp; dirp = opendir(path);