aboutsummaryrefslogtreecommitdiff
path: root/io
diff options
context:
space:
mode:
Diffstat (limited to 'io')
-rw-r--r--io/sys/stat.h4
-rw-r--r--io/utime.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/io/sys/stat.h b/io/sys/stat.h
index 29e9e625ff..e71006a43d 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
diff --git a/io/utime.h b/io/utime.h
index 0687696491..587e628f1d 100644
--- a/io/utime.h
+++ b/io/utime.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 92, 96, 97, 98, 99 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 92, 96, 97, 98, 99, 2004 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -29,7 +29,7 @@ __BEGIN_DECLS
#include <bits/types.h>
-#ifdef __USE_XOPEN
+#if defined __USE_XOPEN || defined __USE_XOPEN2K
# define __need_time_t
# include <time.h>
#endif