summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
Diffstat (limited to 'src/common')
-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
// タイマー間隔の最小値。モンスターの大量召還時、多数のクライアント接続時に