* dired.c: Include <filemode.h> at top level.
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 20 Feb 2011 17:14:24 +0000 (09:14 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 20 Feb 2011 17:14:24 +0000 (09:14 -0800)
src/dired.c

index e2f974e..b01ce8d 100644 (file)
@@ -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