Browse Source

ios: Fixed math include in demos.

Philipp Wiesemann 8 years ago
parent
commit
b84fe2c06b
2 changed files with 2 additions and 2 deletions
  1. 1 1
      Xcode-iOS/Demos/src/accelerometer.c
  2. 1 1
      Xcode-iOS/Demos/src/touch.c

+ 1 - 1
Xcode-iOS/Demos/src/accelerometer.c

@@ -5,7 +5,7 @@
  */
 
 #include "SDL.h"
-#include "math.h"
+#include <math.h>
 #include "common.h"
 
 #define DAMPING 0.5f;           /* after bouncing off a wall, damping coefficient determines final speed */

+ 1 - 1
Xcode-iOS/Demos/src/touch.c

@@ -5,7 +5,7 @@
  */
 
 #include "SDL.h"
-#include "math.h"
+#include <math.h>
 #include "common.h"
 
 #define BRUSH_SIZE 32           /* width and height of the brush */