Browse Source

Clifford Wolf:


			
			
				rocklinux
			
			
		
Clifford Wolf 19 years ago
parent
commit
3b9b9b37ee
1 changed files with 21 additions and 0 deletions
  1. +21
    -0
      package/kasc/xblasttnt/linux-joystick_h.patch

+ 21
- 0
package/kasc/xblasttnt/linux-joystick_h.patch

@ -0,0 +1,21 @@
--- ./x11_joystick.c.orig 2005-11-04 17:50:18.000000000 +0100
+++ ./x11_joystick.c 2005-11-04 17:50:43.000000000 +0100
@@ -32,7 +32,18 @@
#ifndef NO_JOYSTICK
#include <fcntl.h>
#include <unistd.h>
+
+#ifdef __STRICT_ANSI__
+#define REDEFINE__STRICT_ANSI__
+#undef __STRICT_ANSI__
+#endif
+
#include <linux/joystick.h>
+
+#ifdef REDEFINE__STRICT_ANSI__
+#define __STRICT_ANSI__
+#endif
+
#endif
#define JOYDIR_NONE 0x00

Loading…
Cancel
Save