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

This commit is contained in:
Peter Korsgaard 2007-05-22 11:17:27 +00:00
parent a489dda13f
commit 293c026854

View File

@ -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>