diff --git a/src/fccompat.c b/src/fccompat.c index 65ac84c..798de63 100644 --- a/src/fccompat.c +++ b/src/fccompat.c @@ -228,8 +228,9 @@ FcRandom(void) #elif HAVE_LRAND48 result = lrand48 (); #elif HAVE_RAND_R - static unsigned int seed = time (NULL); + static unsigned int seed; + seed = time (NULL); result = rand_r (&seed); #elif HAVE_RAND static FcBool initialized = FcFalse;