summaryrefslogtreecommitdiff
path: root/src/misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/misc.c')
-rw-r--r--src/misc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/misc.c b/src/misc.c
index 5e6f4a4b8..75ed59a30 100644
--- a/src/misc.c
+++ b/src/misc.c
@@ -951,9 +951,8 @@ static void arc4_addrandom(void *dat, int datlen)
*/
void rand_init()
{
- int n;
#ifndef _WIN32
- int fd;
+ int n, fd;
#endif
struct {
#ifdef USE_MYSQL