summaryrefslogtreecommitdiffstats
path: root/astro/xglobe/files/patch-main.cpp
blob: 9e207ebd2d559daf3b0ba45bf836c462002f6e45 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- main.cpp.orig	1999-07-13 17:32:55 UTC
+++ main.cpp
@@ -24,6 +24,7 @@
  */
 
 #include <stdio.h>
+#include <stdlib.h>
 #include <string.h>
 #include <qstring.h>
 #include "config.h"
@@ -37,6 +38,8 @@ int main(int argc, char **argv)
 {
   EarthApplication myApp(argc, argv);
 
+  srandomdev();
+
 #ifdef WITH_QIMAGEIO
   qInitImageIO();
 #endif
OpenPOWER on IntegriCloud