about summary refs log tree commit diff
path: root/include
diff options
context:
space:
mode:
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>