aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAhmad Fatoum <ahmad@a3f.at>2018-01-25 23:12:03 +0100
committerAhmad Fatoum <ahmad@a3f.at>2018-01-25 23:12:03 +0100
commit520f317a7522804ff2f113f01ca69cd45d7863a5 (patch)
treec1d248f8a5e1a1fba85978901eac5e53fda4c19c /src
parent03ee03e2a6caca5c1c7498a8da19a14dfec5df3c (diff)
downloadraylib-520f317a7522804ff2f113f01ca69cd45d7863a5.tar.gz
raylib-520f317a7522804ff2f113f01ca69cd45d7863a5.zip
#include header for time() on Windows
Diffstat (limited to 'src')
-rw-r--r--src/physac.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/physac.h b/src/physac.h
index a04d3cb3..463d8950 100644
--- a/src/physac.h
+++ b/src/physac.h
@@ -255,6 +255,7 @@ PHYSACDEF void ClosePhysics(void);
// Functions required to query time on Windows
int __stdcall QueryPerformanceCounter(unsigned long long int *lpPerformanceCount);
int __stdcall QueryPerformanceFrequency(unsigned long long int *lpFrequency);
+ #include <time.h>
#elif defined(__linux__)
#if _POSIX_C_SOURCE < 199309L
#undef _POSIX_C_SOURCE