summary refs log tree commit diff
path: root/io
diff options
context:
space:
mode:
Diffstat (limited to 'io')
-rw-r--r--io/sys/stat.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/io/sys/stat.h b/io/sys/stat.h
index 32a3889da2..3136dd96b8 100644
--- a/io/sys/stat.h
+++ b/io/sys/stat.h
@@ -1,5 +1,4 @@
-/* Copyright (C) 1991,1992,1995-1999,2000,2001,2002
-   	Free Software Foundation, Inc.
+/* Copyright (C) 1991,1992,1995-2001,2002 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,6 +28,9 @@
 #include <bits/types.h>		/* For __mode_t and __dev_t.  */
 
 #ifdef __USE_XOPEN
+# ifdef __USE_MISC
+#  define __need_timespec
+# endif
 # define __need_time_t
 # include <time.h>		/* For time_t.  */