From 851cab134c6074a1999db770da2c24f625c19b8b Mon Sep 17 00:00:00 2001 From: Dave Love Date: Wed, 24 Nov 1999 12:56:02 +0000 Subject: [PATCH] Include sys/stat.h. Declare filemodestring. --- src/dired.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/dired.c b/src/dired.c index ca762c360dc..bedda2a7f13 100644 --- a/src/dired.c +++ b/src/dired.c @@ -66,6 +66,8 @@ Boston, MA 02111-1307, USA. */ #endif #endif /* not NONSYSTEM_DIR_LIBRARY */ +#include + #ifndef MSDOS #define DIRENTRY struct direct @@ -91,6 +93,9 @@ extern struct direct *readdir (); /* 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. -- 2.39.5