Include <dirstream.h> before <dirent/dirent.h>
authorAndreas Schwab <schwab@linux-m68k.org>
Tue, 28 Feb 2012 14:00:25 +0000 (15:00 +0100)
committerAndreas Schwab <schwab@linux-m68k.org>
Tue, 28 Feb 2012 14:02:02 +0000 (15:02 +0100)
ChangeLog
include/dirent.h

index 8d3de2f..a1a6c50 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
+
+       * include/dirent.h: Include <dirstream.h> before
+       <dirent/dirent.h>.
+
 2012-02-28  David S. Miller  <davem@davemloft.net>
 
        * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
index 2e88005..8e4823c 100644 (file)
@@ -1,7 +1,9 @@
 #ifndef _DIRENT_H
+# ifndef _ISOMAC
+#  include <dirstream.h>
+# endif
 # include <dirent/dirent.h>
 # ifndef _ISOMAC
-# include <dirstream.h>
 # include <sys/stat.h>
 # include <stdbool.h>