diff options
-rw-r--r-- | include/fcntl.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/fcntl.h b/include/fcntl.h index adcd7ef4b..5a73a9862 100644 --- a/include/fcntl.h +++ b/include/fcntl.h @@ -34,6 +34,9 @@ __BEGIN_DECLS /* For XPG all symbols from <sys/stat.h> should also be available. */ #ifdef __USE_XOPEN +# ifdef __USE_XOPEN2K8 +# define __need_timespec +# endif # include <sys/stat.h> #endif |