diff options
Diffstat (limited to 'sysvipc')
-rw-r--r-- | sysvipc/sys/msg.h | 3 | ||||
-rw-r--r-- | sysvipc/sys/sem.h | 3 | ||||
-rw-r--r-- | sysvipc/sys/shm.h | 3 |
3 files changed, 3 insertions, 6 deletions
diff --git a/sysvipc/sys/msg.h b/sysvipc/sys/msg.h index 4dc559f49a..4499dc5e91 100644 --- a/sysvipc/sys/msg.h +++ b/sysvipc/sys/msg.h @@ -30,8 +30,7 @@ #include <bits/msq.h> /* Define types required by the standard. */ -#define __need_time_t -#include <time.h> +#include <bits/types/time_t.h> #ifndef __pid_t_defined typedef __pid_t pid_t; diff --git a/sysvipc/sys/sem.h b/sysvipc/sys/sem.h index 1b32092922..3a79f9d27a 100644 --- a/sysvipc/sys/sem.h +++ b/sysvipc/sys/sem.h @@ -30,8 +30,7 @@ #include <bits/sem.h> #ifdef __USE_GNU -# define __need_timespec -# include <time.h> +# include <bits/types/struct_timespec.h> #endif /* The following System V style IPC functions implement a semaphore diff --git a/sysvipc/sys/shm.h b/sysvipc/sys/shm.h index df263dcba6..41dc6c63f7 100644 --- a/sysvipc/sys/shm.h +++ b/sysvipc/sys/shm.h @@ -30,8 +30,7 @@ #include <bits/shm.h> /* Define types required by the standard. */ -#define __need_time_t -#include <time.h> +#include <bits/types/time_t.h> #ifdef __USE_XOPEN # ifndef __pid_t_defined |