Quellcode durchsuchen

Fixed unix compilation problem due to a missing include (caused by r11499)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11506 54d463be-8e91-2dee-dedb-b68131a5f0ec
ultramage vor 17 Jahren
Ursprung
Commit
28a6350610
1 geänderte Dateien mit 2 neuen und 0 gelöschten Zeilen
  1. 2 0
      src/common/timer.c

+ 2 - 0
src/common/timer.c

@@ -13,6 +13,8 @@
 
 #ifdef WIN32
 #include <windows.h> // GetTickCount()
+#else
+#include <sys/time.h> // struct timeval, gettimeofday()
 #endif
 
 // タイマー間隔の最小値。モンスターの大量召還時、多数のクライアント接続時に