From: Dave Love Date: Wed, 24 Nov 1999 12:56:02 +0000 (+0000) Subject: Include sys/stat.h. Declare filemodestring. X-Git-Tag: emacs-pretest-21.0.90~6000 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=851cab134c6074a1999db770da2c24f625c19b8b;p=emacs.git Include sys/stat.h. Declare filemodestring. --- 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.