summaryrefslogtreecommitdiff
path: root/src/common/core.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/core.c')
-rw-r--r--src/common/core.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/common/core.c b/src/common/core.c
index 7267d8f..94a754b 100644
--- a/src/common/core.c
+++ b/src/common/core.c
@@ -13,6 +13,7 @@
#include "socket.h"
#include "timer.h"
#include "version.h"
+#include "mt_rand.h"
#ifdef MEMWATCH
#include "memwatch.h"
@@ -133,6 +134,8 @@ int main(int argc,char **argv)
{
int next;
+ mt_seed(time(NULL) ^ getpid() ^ getppid());
+
Net_Init();
do_socket();