about summary refs log tree commit diff
path: root/include
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>2012-02-28 15:00:25 +0100
committerAndreas Schwab <schwab@linux-m68k.org>2012-02-28 15:02:02 +0100
commit450bf206b4eba7e2288bc6c6e487f60e26165dce (patch)
tree0901c13e5e3809e35c77402790ee59fd6559b5f6 /include
parent741a235bf611dd5ea646c918ac98ae5b2a0afe51 (diff)
downloadglibc-450bf206b4eba7e2288bc6c6e487f60e26165dce.tar.gz
glibc-450bf206b4eba7e2288bc6c6e487f60e26165dce.tar.xz
glibc-450bf206b4eba7e2288bc6c6e487f60e26165dce.zip
Include <dirstream.h> before <dirent/dirent.h>
Diffstat (limited to 'include')
-rw-r--r--include/dirent.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/dirent.h b/include/dirent.h
index 2e88005e00..8e4823ce73 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>