summaryrefslogtreecommitdiff
path: root/libpthread/linuxthreads
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2011-03-14 17:45:43 +0100
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2012-06-15 14:00:24 +0200
commitd70e284a0d5132f1f53c96b726fd9ce5962f143a (patch)
tree4c3bb849eedec1c8543c61dd4e7e7d4d3abd802b /libpthread/linuxthreads
parent4424cb73da35671241e6f0b2f93f826e36d299f2 (diff)
semaphore.c: include limits.h before semaphore.h
else SEM_VALUE_MAX will be undefined Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libpthread/linuxthreads')
-rw-r--r--libpthread/linuxthreads/semaphore.c1
1 files changed, 1 insertions, 0 deletions
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"