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>
@@ -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"
#include "internals.h"