summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2016-02-11 00:51:59 +0100
committerHaru <haru@dotalux.com>2016-02-15 14:41:42 +0100
commitda58cbc111e9ee0eb418b2b670491341db85a17c (patch)
tree20db2a23991e9106970aecf8e2d5515164d59e0f /src
parent43298be9ee26ffb9e3a55922f77dd1e64d540534 (diff)
downloadhercules-da58cbc111e9ee0eb418b2b670491341db85a17c.tar.gz
hercules-da58cbc111e9ee0eb418b2b670491341db85a17c.tar.bz2
hercules-da58cbc111e9ee0eb418b2b670491341db85a17c.tar.xz
hercules-da58cbc111e9ee0eb418b2b670491341db85a17c.zip
Fixed a missing include in utils.h
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src')
-rw-r--r--src/common/utils.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/common/utils.h b/src/common/utils.h
index 3f181ef12..c5f64124f 100644
--- a/src/common/utils.h
+++ b/src/common/utils.h
@@ -24,6 +24,9 @@
#include "common/hercules.h"
#include <stdio.h> // FILE*
+#ifndef WIN32
+# include <unistd.h> // sleep()
+#endif
/* [HCache] 1-byte key to ensure our method is the latest, we can modify to ensure the method matches */
#define HCACHE_KEY 'k'