Include sys/stat.h. Declare filemodestring.
authorDave Love <fx@gnu.org>
Wed, 24 Nov 1999 12:56:02 +0000 (12:56 +0000)
committerDave Love <fx@gnu.org>
Wed, 24 Nov 1999 12:56:02 +0000 (12:56 +0000)
src/dired.c

index ca762c3..bedda2a 100644 (file)
@@ -66,6 +66,8 @@ Boston, MA 02111-1307, USA.  */
 #endif
 #endif /* not NONSYSTEM_DIR_LIBRARY */
 
+#include <sys/stat.h>
+
 #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.