summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-10-18 10:11:54 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-10-18 10:11:54 +0000
commitc6ea185bd9ca1c3fdf7a18c4bf1e0b1150fffed5 (patch)
treef9d129cba502523240de8238cf4bf655d90e26c1 /src
parente8d7a95f9416c67242db5e06fd1743c8f28b3b08 (diff)
downloadhercules-c6ea185bd9ca1c3fdf7a18c4bf1e0b1150fffed5.tar.gz
hercules-c6ea185bd9ca1c3fdf7a18c4bf1e0b1150fffed5.tar.bz2
hercules-c6ea185bd9ca1c3fdf7a18c4bf1e0b1150fffed5.tar.xz
hercules-c6ea185bd9ca1c3fdf7a18c4bf1e0b1150fffed5.zip
Fixed unix compilation problem due to a missing include (caused by r11499)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11506 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r--src/common/timer.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/timer.c b/src/common/timer.c
index 97fb39409..36087ccb2 100644
--- a/src/common/timer.c
+++ b/src/common/timer.c
@@ -13,6 +13,8 @@
#ifdef WIN32
#include <windows.h> // GetTickCount()
+#else
+#include <sys/time.h> // struct timeval, gettimeofday()
#endif
// タイマー間隔の最小値。モンスターの大量召還時、多数のクライアント接続時に