aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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.