summaryrefslogtreecommitdiff
path: root/libpthread
diff options
context:
space:
mode:
Diffstat (limited to 'libpthread')
-rw-r--r--libpthread/linuxthreads.old/semaphore.c1
-rw-r--r--libpthread/linuxthreads/semaphore.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/libpthread/linuxthreads.old/semaphore.c b/libpthread/linuxthreads.old/semaphore.c
index c892a601b..0811e1707 100644
--- a/libpthread/linuxthreads.old/semaphore.c
+++ b/libpthread/linuxthreads.old/semaphore.c
@@ -15,6 +15,7 @@
/* Semaphores a la POSIX 1003.1b */
#include <features.h>
+#include <limits.h>
#include <errno.h>
#include "pthread.h"
#include "semaphore.h"
diff --git a/libpthread/linuxthreads/semaphore.c b/libpthread/linuxthreads/semaphore.c
index 392c37bfa..b66735bed 100644
--- a/libpthread/linuxthreads/semaphore.c
+++ b/libpthread/linuxthreads/semaphore.c
@@ -15,6 +15,7 @@
/* Semaphores a la POSIX 1003.1b */
#include <errno.h>
+#include <limits.h>
#include "pthread.h"
#include "semaphore.h"
#include "internals.h"