summaryrefslogtreecommitdiffhomepage
path: root/src/physac.h
diff options
context:
space:
mode:
authorRay <[email protected]>2017-05-17 01:06:05 +0200
committerGitHub <[email protected]>2017-05-17 01:06:05 +0200
commitb6b01f5420935c770e15ca60dd40147d0e5487aa (patch)
treeef37651bcfae038ef059e2813413857aec6f7b11 /src/physac.h
parentf8a4498a242e685e528bd1ac6d84378947daff7d (diff)
parent1e2d3d93fe7808f27a4d1ac1d43133f785694019 (diff)
downloadraylib-b6b01f5420935c770e15ca60dd40147d0e5487aa.tar.gz
raylib-b6b01f5420935c770e15ca60dd40147d0e5487aa.zip
Merge pull request #287 from raysan5/develop
Integrate develop branch
Diffstat (limited to 'src/physac.h')
-rw-r--r--src/physac.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/physac.h b/src/physac.h
index b71f2877..d3fdaca4 100644
--- a/src/physac.h
+++ b/src/physac.h
@@ -246,12 +246,14 @@ PHYSACDEF void ClosePhysics(void);
#include <stdlib.h> // Required for: malloc(), free(), srand(), rand()
#include <math.h> // Required for: cosf(), sinf(), fabs(), sqrtf()
+#include "raymath.h" // Required for: Vector2Add(), Vector2Subtract()
+
#if defined(_WIN32)
// Functions required to query time on Windows
int __stdcall QueryPerformanceCounter(unsigned long long int *lpPerformanceCount);
int __stdcall QueryPerformanceFrequency(unsigned long long int *lpFrequency);
#elif defined(__linux__) || defined(PLATFORM_WEB)
- #define _DEFAULT_SOURCE // Enables BSD function definitions and C99 POSIX compliance
+ //#define _DEFAULT_SOURCE // Enables BSD function definitions and C99 POSIX compliance
#include <sys/time.h> // Required for: timespec
#include <time.h> // Required for: clock_gettime()
#include <stdint.h>