summaryrefslogtreecommitdiff
path: root/random.c
diff options
context:
space:
mode:
Diffstat (limited to 'random.c')
-rw-r--r--random.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/random.c b/random.c
index 4e9213ebc4..e76437285b 100644
--- a/random.c
+++ b/random.c
@@ -88,7 +88,7 @@ rand_init(seed)
int old;
static unsigned int saved_seed;
-#ifdef HAVE_RANDOM
+#if defined HAVE_RANDOM && !defined __UCLIBC__
if (first == 1) {
initstate(1, state, sizeof state);
}