From edcb719d9493184af792cf1f5daa0641cef73291 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Wed, 1 Jul 2009 19:59:46 -0400 Subject: [PATCH] Bug Fix - Added include, according to random website which claims it makes the difference. --- src/Context.cpp | 8 -------- src/main.cpp | 1 + 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/src/Context.cpp b/src/Context.cpp index 45bcf418e..ae98d23c0 100644 --- a/src/Context.cpp +++ b/src/Context.cpp @@ -52,14 +52,6 @@ Context::Context () , cmd () , inShadow (false) { - // Set up randomness. -/* -#ifdef HAVE_SRANDOM - srandom (time (NULL)); -#else - srand (time (NULL)); -#endif -*/ } //////////////////////////////////////////////////////////////////////////////// diff --git a/src/main.cpp b/src/main.cpp index 7ff8dc41e..30fb7270d 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -27,6 +27,7 @@ #include #include +#include #include "Context.h" Context context;