Joystick support (small fix)
Erik Auerswald
auerswal at unix-ag.uni-kl.de
Mon May 2 16:56:21 EDT 2005
Hi,
joystick.h was not enclosed in #ifndef ... #endif, the attached patch
fixes this (you need to apply the joystick patch first, then this fix).
Erik
-------------- next part --------------
diff -buNr airstrike-joystick/src/core/joystick.h airstrike-joystick-fixed/src/core/joystick.h
--- airstrike-joystick/src/core/joystick.h 2005-05-02 22:50:13.792563175 +0200
+++ airstrike-joystick-fixed/src/core/joystick.h 2005-05-02 22:45:51.587592432 +0200
@@ -1,3 +1,6 @@
+#ifndef JOYSTICK_H
+#define JOYSTICK_H
+
/* threshold to distinguish between real joystick movement and noise */
#define JOY_THRESHOLD 100
@@ -40,3 +43,5 @@
/* query status of joystick */
int joy_active(int joy_no, int actuator);
+
+#endif
More information about the airstrike
mailing list