diff options
| author | Dave Love | 1999-11-24 12:56:02 +0000 |
|---|---|---|
| committer | Dave Love | 1999-11-24 12:56:02 +0000 |
| commit | 851cab134c6074a1999db770da2c24f625c19b8b (patch) | |
| tree | f14f669fdabd0ba208f4b1de0a0f07253b4b1c1c /src/dired.c | |
| parent | 68e684a01991592dba23d2c32c0684c88f904c75 (diff) | |
| download | emacs-851cab134c6074a1999db770da2c24f625c19b8b.tar.gz emacs-851cab134c6074a1999db770da2c24f625c19b8b.zip | |
Include sys/stat.h. Declare filemodestring.
Diffstat (limited to 'src/dired.c')
| -rw-r--r-- | src/dired.c | 5 |
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. */ |
| 92 | extern struct re_pattern_buffer *compile_pattern (); | 94 | extern struct re_pattern_buffer *compile_pattern (); |
| 93 | 95 | ||
| 96 | /* From filemode.c. Can't go in Lisp.h because of `stat'. */ | ||
| 97 | extern 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. |