diff options
author | Rich Felker <dalias@aerifal.cx> | 2012-08-24 17:01:17 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2012-08-24 17:01:17 -0400 |
commit | 7dba0494e8153e4358b09cbf30ff07d5ba4dbf37 (patch) | |
tree | fa6886843ef5b39cd7a7f09053f2830f4562b043 /include | |
parent | d03b3e732368626769fb1cec7f3c3898ffb57cca (diff) | |
download | musl-7dba0494e8153e4358b09cbf30ff07d5ba4dbf37.tar.gz musl-7dba0494e8153e4358b09cbf30ff07d5ba4dbf37.tar.bz2 musl-7dba0494e8153e4358b09cbf30ff07d5ba4dbf37.tar.xz musl-7dba0494e8153e4358b09cbf30ff07d5ba4dbf37.zip |
type exposure fixes in sys/sem.h
Diffstat (limited to 'include')
-rw-r--r-- | include/sys/sem.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/include/sys/sem.h b/include/sys/sem.h index 15d8b685..add3f1c8 100644 --- a/include/sys/sem.h +++ b/include/sys/sem.h @@ -5,6 +5,11 @@ extern "C" { #endif #define __NEED_size_t +#define __NEED_pid_t +#define __NEED_time_t +#ifdef _GNU_SOURCE +#define __NEED_struct_timespec +#endif #include <bits/alltypes.h> #include <sys/ipc.h> @@ -58,8 +63,6 @@ int semget(key_t, int, int); int semop(int, struct sembuf *, size_t); #ifdef _GNU_SOURCE -#define __NEED_struct_timespec -#include <bits/alltypes.h> int semtimedop(int, struct sembuf *, size_t, const struct timespec *); #endif |