소스 검색

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 17 년 전
부모
커밋
28a6350610
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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
 
 // タイマー間隔の最小値。モンスターの大量召還時、多数のクライアント接続時に