aboutsummaryrefslogtreecommitdiff
path: root/io/sys/stat.h
diff options
context:
space:
mode:
Diffstat (limited to 'io/sys/stat.h')
-rw-r--r--io/sys/stat.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/io/sys/stat.h b/io/sys/stat.h
index 29e9e625..e71006a 100644
--- a/io/sys/stat.h
+++ b/io/sys/stat.h
@@ -28,7 +28,7 @@
#include <bits/types.h> /* For __mode_t and __dev_t. */
#if defined __USE_XOPEN || defined __USE_MISC
-# ifdef __USE_XOPEN
+# if defined __USE_XOPEN || defined __USE_XOPEN2K
# define __need_time_t
# endif
# ifdef __USE_MISC
@@ -37,7 +37,7 @@
# include <time.h> /* For time_t resp. timespec. */
#endif
-#ifdef __USE_XOPEN
+#if defined __USE_XOPEN || defined __USE_XOPEN2K
/* The Single Unix specification says that some more types are
available here. */
# ifndef __dev_t_defined