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;