From: Rich Felker Date: Fri, 24 Aug 2012 21:01:17 +0000 (-0400) Subject: type exposure fixes in sys/sem.h X-Git-Tag: v0.9.5~77 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=7dba0494e8153e4358b09cbf30ff07d5ba4dbf37;p=oweals%2Fmusl.git type exposure fixes in sys/sem.h --- 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 #include @@ -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 int semtimedop(int, struct sembuf *, size_t, const struct timespec *); #endif