summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/dirent.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/dirent.h b/include/dirent.h
index 4ff35215b52..76010568081 100644
--- a/include/dirent.h
+++ b/include/dirent.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: dirent.h,v 1.30 2013/03/24 17:46:58 deraadt Exp $ */
+/* $OpenBSD: dirent.h,v 1.31 2013/06/02 16:14:59 guenther Exp $ */
/* $NetBSD: dirent.h,v 1.9 1995/03/26 20:13:37 jtc Exp $ */
/*-
@@ -40,8 +40,10 @@
/*
* POSIX doesn't mandate this, but X/Open XPG 4.2 does.
*/
-#if __BSD_VISIBLE || __XPG_VISIBLE >= 420
+#if __BSD_VISIBLE || __XPG_VISIBLE >= 400
#include <sys/types.h>
+#else
+#include <sys/_types.h>
#endif
/*