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