aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Love1999-11-24 12:56:02 +0000
committerDave Love1999-11-24 12:56:02 +0000
commit851cab134c6074a1999db770da2c24f625c19b8b (patch)
treef14f669fdabd0ba208f4b1de0a0f07253b4b1c1c
parent68e684a01991592dba23d2c32c0684c88f904c75 (diff)
downloademacs-851cab134c6074a1999db770da2c24f625c19b8b.tar.gz
emacs-851cab134c6074a1999db770da2c24f625c19b8b.zip
Include sys/stat.h. Declare filemodestring.
-rw-r--r--src/dired.c5
1 files changed, 5 insertions, 0 deletions
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. */
66#endif 66#endif
67#endif /* not NONSYSTEM_DIR_LIBRARY */ 67#endif /* not NONSYSTEM_DIR_LIBRARY */
68 68
69#include <sys/stat.h>
70
69#ifndef MSDOS 71#ifndef MSDOS
70#define DIRENTRY struct direct 72#define DIRENTRY struct direct
71 73
@@ -91,6 +93,9 @@ extern struct direct *readdir ();
91/* Returns a search buffer, with a fastmap allocated and ready to go. */ 93/* Returns a search buffer, with a fastmap allocated and ready to go. */
92extern struct re_pattern_buffer *compile_pattern (); 94extern struct re_pattern_buffer *compile_pattern ();
93 95
96/* From filemode.c. Can't go in Lisp.h because of `stat'. */
97extern void filemodestring P_ ((struct stat *, char *));
98
94#define min(a, b) ((a) < (b) ? (a) : (b)) 99#define min(a, b) ((a) < (b) ? (a) : (b))
95 100
96/* if system does not have symbolic links, it does not have lstat. 101/* if system does not have symbolic links, it does not have lstat.