diff options
Diffstat (limited to 'posix')
-rw-r--r-- | posix/sched.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/posix/sched.h b/posix/sched.h index f7da2559f9..779109a2c7 100644 --- a/posix/sched.h +++ b/posix/sched.h @@ -27,8 +27,10 @@ #define __need_size_t #include <stddef.h> -#define __need_time_t -#define __need_timespec +#ifdef __USE_XOPEN2K +# define __need_time_t +# define __need_timespec +#endif #include <time.h> #ifndef __pid_t_defined |