Przeglądaj źródła

Fixup joystick.h include with modern kernel headers. Patch from #1217.

Peter Korsgaard 18 lat temu
rodzic
commit
293c026854
1 zmienionych plików z 10 dodań i 0 usunięć
  1. 10 0
      package/xorg/xorg-6.8.2-joystick_h.patch

+ 10 - 0
package/xorg/xorg-6.8.2-joystick_h.patch

@@ -0,0 +1,10 @@
+--- xc/programs/Xserver/hw/xfree86/input/ur98/xf86Ur-98.c.orig	2007-02-13 21:17:02.000000000 -0800
++++ xc/programs/Xserver/hw/xfree86/input/ur98/xf86Ur-98.c	2007-02-13 21:17:32.000000000 -0800
+@@ -1,5 +1,7 @@
+ /* $XFree86: xc/programs/Xserver/hw/xfree86/input/ur98/xf86Ur-98.c,v 1.1tsi Exp $ */
+ 
++#undef __STRICT_ANSI__
++
+ #include <sys/types.h>
+ #include <unistd.h>
+ #include <string.h>