diff options
Diffstat (limited to 'src/dillo.cc')
-rw-r--r-- | src/dillo.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/dillo.cc b/src/dillo.cc index cfefa053..af45adfc 100644 --- a/src/dillo.cc +++ b/src/dillo.cc @@ -20,6 +20,8 @@ #include <stdio.h> #include <unistd.h> +#include <stdlib.h> +#include <time.h> #include <fltk/Window.h> #include <fltk/run.h> @@ -78,6 +80,8 @@ static DilloUrl *Dillo_make_start_url(char *str) */ int main(int argc, char **argv) { + srand((uint_t)(time(0) ^ getpid())); + // Initialize internal modules a_Dir_init(); a_Prefs_init(); |