summaryrefslogtreecommitdiff
path: root/astro/xglobe/files/patch-main.cpp
blob: 505b961f3df7a3b832bfc875b3f2911292b7b369 (plain) (blame)
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 10:32:55.000000000 -0700
+++ main.cpp	2011-01-18 14:22:52.000000000 -0800
@@ -24,6 +24,7 @@
  */
 
 #include <stdio.h>
+#include <stdlib.h>
 #include <string.h>
 #include <qstring.h>
 #include "config.h"
@@ -37,6 +38,8 @@
 {
   EarthApplication myApp(argc, argv);
 
+  srandomdev();
+
 #ifdef WITH_QIMAGEIO
   qInitImageIO();
 #endif