diff options
author | Haru <haru@dotalux.com> | 2016-02-11 00:51:59 +0100 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2016-02-15 14:41:42 +0100 |
commit | da58cbc111e9ee0eb418b2b670491341db85a17c (patch) | |
tree | 20db2a23991e9106970aecf8e2d5515164d59e0f /src/common/utils.h | |
parent | 43298be9ee26ffb9e3a55922f77dd1e64d540534 (diff) | |
download | hercules-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/common/utils.h')
-rw-r--r-- | src/common/utils.h | 3 |
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' |