File JoystickInput.h.patch of Package apm_planner

--- src/input/JoystickInput.h.orig	2015-04-08 14:17:01.284955671 +0200
+++ src/input/JoystickInput.h	2015-04-08 14:19:28.863341885 +0200
@@ -44,6 +44,11 @@
 
 #include "UASInterface.h"
 
+/* Fix by vodoo */
+#ifndef SDL_TICKS_PASSED
+#define SDL_TICKS_PASSED(A, B)  ((Sint32)((B) - (A)) <= 0)
+#endif
+
 /**
  * @brief Joystick input
  */
openSUSE Build Service is sponsored by