aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--include/dirent.h4
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 8d3de2f..a1a6c50 100644
--- 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.
diff --git a/include/dirent.h b/include/dirent.h
index 2e88005..8e4823c 100644
--- a/include/dirent.h
+++ b/include/dirent.h
@@ -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>