summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
// �^�C�}�[�Ԋu�̍ŏ��l�B�����X�^�[�̑�ʏ��Ҏ��A�����̃N���C�A���g�ڑ�����