diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2011-03-14 17:45:43 +0100 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2012-06-15 14:00:24 +0200 |
commit | d70e284a0d5132f1f53c96b726fd9ce5962f143a (patch) | |
tree | 4c3bb849eedec1c8543c61dd4e7e7d4d3abd802b /libpthread/linuxthreads/semaphore.c | |
parent | 4424cb73da35671241e6f0b2f93f826e36d299f2 (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/semaphore.c')
-rw-r--r-- | libpthread/linuxthreads/semaphore.c | 1 |
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" |