summaryrefslogtreecommitdiffstats
path: root/random.c
diff options
context:
space:
mode:
Diffstat (limited to 'random.c')
-rw-r--r--random.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/random.c b/random.c
index 050619ef1..be720a0fe 100644
--- a/random.c
+++ b/random.c
@@ -279,8 +279,10 @@ fill_random_seed(unsigned long seed[DEFAULT_SEED_CNT])
{
static int n = 0;
struct timeval tv;
+#ifdef S_ISCHR
int fd;
struct stat statbuf;
+#endif
memset(seed, 0, DEFAULT_SEED_LEN);