Bug Fix
- Added include, according to random website which claims it makes the difference.
This commit is contained in:
@@ -52,14 +52,6 @@ Context::Context ()
|
|||||||
, cmd ()
|
, cmd ()
|
||||||
, inShadow (false)
|
, inShadow (false)
|
||||||
{
|
{
|
||||||
// Set up randomness.
|
|
||||||
/*
|
|
||||||
#ifdef HAVE_SRANDOM
|
|
||||||
srandom (time (NULL));
|
|
||||||
#else
|
|
||||||
srand (time (NULL));
|
|
||||||
#endif
|
|
||||||
*/
|
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|||||||
@@ -27,6 +27,7 @@
|
|||||||
|
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
#include <time.h>
|
||||||
#include "Context.h"
|
#include "Context.h"
|
||||||
|
|
||||||
Context context;
|
Context context;
|
||||||
|
|||||||
Reference in New Issue
Block a user