1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-25 07:28:20 +00:00

Include sys/stat.h. Declare filemodestring.

This commit is contained in:
Dave Love 1999-11-24 12:56:02 +00:00
parent 68e684a019
commit 851cab134c

View File

@ -66,6 +66,8 @@ Boston, MA 02111-1307, USA. */
#endif #endif
#endif /* not NONSYSTEM_DIR_LIBRARY */ #endif /* not NONSYSTEM_DIR_LIBRARY */
#include <sys/stat.h>
#ifndef MSDOS #ifndef MSDOS
#define DIRENTRY struct direct #define DIRENTRY struct direct
@ -91,6 +93,9 @@ extern struct direct *readdir ();
/* Returns a search buffer, with a fastmap allocated and ready to go. */ /* Returns a search buffer, with a fastmap allocated and ready to go. */
extern struct re_pattern_buffer *compile_pattern (); 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)) #define min(a, b) ((a) < (b) ? (a) : (b))
/* if system does not have symbolic links, it does not have lstat. /* if system does not have symbolic links, it does not have lstat.