summaryrefslogtreecommitdiff
path: root/include/sys/sem.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sys/sem.h')
-rw-r--r--include/sys/sem.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/include/sys/sem.h b/include/sys/sem.h
index 410c8774..a747784e 100644
--- a/include/sys/sem.h
+++ b/include/sys/sem.h
@@ -25,8 +25,6 @@ extern "C" {
#define SETVAL 16
#define SETALL 17
-#include <endian.h>
-
#include <bits/sem.h>
#define _SEM_SEMUN_UNDEFINED 1
@@ -62,6 +60,12 @@ int semop(int, struct sembuf *, size_t);
int semtimedop(int, struct sembuf *, size_t, const struct timespec *);
#endif
+#if _REDIR_TIME64
+#ifdef _GNU_SOURCE
+__REDIR(semtimedop, __semtimedop_time64);
+#endif
+#endif
+
#ifdef __cplusplus
}
#endif