summaryrefslogtreecommitdiff
path: root/include/dirent.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/dirent.h')
-rw-r--r--include/dirent.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/dirent.h b/include/dirent.h
index 8079d7097..b3fbf2de2 100644
--- a/include/dirent.h
+++ b/include/dirent.h
@@ -93,7 +93,7 @@ typedef __ino64_t ino64_t;
#endif
-#ifdef __USE_BSD
+#if defined __USE_BSD && defined _DIRENT_HAVE_D_TYPE
/* File types for `d_type'. */
enum
{