summaryrefslogtreecommitdiffstats
path: root/libc/stdlib/random.c
diff options
context:
space:
mode:
authorCarmelo Amoroso <carmelo.amoroso@st.com>2007-11-20 10:09:16 +0000
committerCarmelo Amoroso <carmelo.amoroso@st.com>2007-11-20 10:09:16 +0000
commit244539cd0852bbcf8f21507d7ff866d8e7fcff18 (patch)
tree5a04e6a195814b645007e4ccecb128d8c7b31ee7 /libc/stdlib/random.c
parent1cac0350028cc4a47715f63e61379d3318b0c965 (diff)
downloaduClibc-alpine-244539cd0852bbcf8f21507d7ff866d8e7fcff18.tar.bz2
uClibc-alpine-244539cd0852bbcf8f21507d7ff866d8e7fcff18.tar.xz
Fix Makefile.in and synch them with trunk. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Diffstat (limited to 'libc/stdlib/random.c')
-rw-r--r--libc/stdlib/random.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/stdlib/random.c b/libc/stdlib/random.c
index 9f1977ee3..80df7890b 100644
--- a/libc/stdlib/random.c
+++ b/libc/stdlib/random.c
@@ -34,6 +34,7 @@ libc_hidden_proto(initstate_r)
#ifdef __UCLIBC_HAS_THREADS__
# include <pthread.h>
+# include <pthreadP.h>
/* POSIX.1c requires that there is mutual exclusion for the `rand' and
`srand' functions to prevent concurrent calls from modifying common
data. */