mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-11 09:20:51 +00:00
* dired.c: Include <filemode.h> at top level.
This commit is contained in:
parent
cfd812fa03
commit
d209feedbd
@ -54,8 +54,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
|
||||
#include <sys/dir.h>
|
||||
#include <sys/stat.h>
|
||||
|
||||
#include <filemode.h>
|
||||
|
||||
#define DIRENTRY struct direct
|
||||
|
||||
extern DIR *opendir (char *);
|
||||
@ -63,6 +61,8 @@ extern struct direct *readdir (DIR *);
|
||||
|
||||
#endif /* HAVE_DIRENT_H */
|
||||
|
||||
#include <filemode.h>
|
||||
|
||||
#ifdef MSDOS
|
||||
#define DIRENTRY_NONEMPTY(p) ((p)->d_name[0] != 0)
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user