diff --git a/include/time.h b/include/time.h index 284932a..cdace14 100644 --- a/include/time.h +++ b/include/time.h @@ -30,8 +30,8 @@ #include #include struct sigevent; -#endif #include +#endif struct tm { unsigned int tm_sec : 6; @@ -45,12 +45,12 @@ struct tm { int tm_isdst : 2; }; +#ifdef _POSIX_C_SOURCE struct timespec { time_t tv_sec; long int tv_nsec; }; -#ifdef _POSIX_C_SOURCE struct itimerspec { struct timespec it_interval; struct timespec it_value;