summaryrefslogtreecommitdiff
path: root/src/common/random.c
diff options
context:
space:
mode:
authorHaruna <haru@dotalux.com>2015-06-19 12:48:19 +0200
committerHaruna <haru@dotalux.com>2015-06-19 12:48:19 +0200
commit61f0dcb9a812d057e28c53837327f99bcea4733e (patch)
tree76c299f94ef60fa6007321b8c403ebc93d8027c1 /src/common/random.c
parentec7241c953392938cd3a8740bacb4c869636766f (diff)
parentf2fbdc16a14d07e0895cc09eeba689bc556481d2 (diff)
downloadhercules-61f0dcb9a812d057e28c53837327f99bcea4733e.tar.gz
hercules-61f0dcb9a812d057e28c53837327f99bcea4733e.tar.bz2
hercules-61f0dcb9a812d057e28c53837327f99bcea4733e.tar.xz
hercules-61f0dcb9a812d057e28c53837327f99bcea4733e.zip
Merge pull request #532 from MishimaHaruna/includes
Include paths
Diffstat (limited to 'src/common/random.c')
-rw-r--r--src/common/random.c12
1 files changed, 5 insertions, 7 deletions
diff --git a/src/common/random.c b/src/common/random.c
index 88d5748cf..a4d7c5d34 100644
--- a/src/common/random.c
+++ b/src/common/random.c
@@ -5,16 +5,14 @@
#include "random.h"
-#include <time.h> // time
+#include "common/cbasetypes.h" // for WIN32
+#include "common/showmsg.h"
+#include "common/timer.h" // gettick
-#include <mt19937ar.h> // init_genrand, genrand_int32, genrand_res53
-
-#include "../common/cbasetypes.h" // for WIN32
-#include "../common/showmsg.h"
-#include "../common/timer.h" // gettick
+#include <mt19937ar/mt19937ar.h> // init_genrand, genrand_int32, genrand_res53
#if defined(WIN32)
-# include "../common/winapi.h"
+# include "common/winapi.h"
#elif defined(HAVE_GETPID) || defined(HAVE_GETTID)
# include <sys/types.h>
# include <unistd.h>