[git commit future 1/1] semaphore.c: include limits.h before semaphore.h
Peter S. Mazinger
ps.m at gmx.net
Thu Mar 10 12:15:10 UTC 2011
commit: http://git.uclibc.org/uClibc/commit/?id=ec6b88de379f89b7d84ab929650bf783127e69dc
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/future
else SEM_VALUE_MAX will be undefined
Signed-off-by: Peter S. Mazinger <ps.m at gmx.net>
---
libpthread/linuxthreads.old/semaphore.c | 1 +
libpthread/linuxthreads/semaphore.c | 1 +
2 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/libpthread/linuxthreads.old/semaphore.c b/libpthread/linuxthreads.old/semaphore.c
index c892a60..0811e17 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 392c37b..b66735b 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"
--
1.7.3.4
More information about the uClibc-cvs
mailing list