# HG changeset patch # User Dave Love # Date 943448162 0 # Node ID b50a0a8a08257b0d1c33a9ea5c196ec5ed94ed10 # Parent 6d4aa81560337552b815d09860e57073b491f9b2 Include sys/stat.h. Declare filemodestring. diff -r 6d4aa8156033 -r b50a0a8a0825 src/dired.c --- a/src/dired.c Wed Nov 24 02:29:08 1999 +0000 +++ b/src/dired.c Wed Nov 24 12:56:02 1999 +0000 @@ -66,6 +66,8 @@ #endif #endif /* not NONSYSTEM_DIR_LIBRARY */ +#include + #ifndef MSDOS #define DIRENTRY struct direct @@ -91,6 +93,9 @@ /* Returns a search buffer, with a fastmap allocated and ready to go. */ extern struct re_pattern_buffer *compile_pattern (); +/* From filemode.c. Can't go in Lisp.h because of `stat'. */ +extern void filemodestring P_ ((struct stat *, char *)); + #define min(a, b) ((a) < (b) ? (a) : (b)) /* if system does not have symbolic links, it does not have lstat.