fccompat.c doesn't compile when using HAVE_RAND_R instead of HAVE_LRAND48
In fccompat.c we have this code:
static unsigned int seed = time (NULL);
result = rand_r (&seed);
This won't compile because it assigns a non-constant value to a static variable which isn't allowed in C. So this code should be changed to this:
static unsigned int seed;
seed = time (NULL);
result = rand_r (&seed);