File xf86-input-jamstudio.diff of Package xorg-x11-driver-input
--- src/js_x.c.orig 2006-07-29 10:07:37.000000000 +0200
+++ src/js_x.c 2006-07-29 10:08:13.000000000 +0200
@@ -44,6 +44,8 @@
#include <errno.h>
#include <string.h>
+#include <unistd.h>
+
#define JSX_XCOORD 65584
#define JSX_YCOORD 65585
#define JSX_PRESS 852016
--- ../xf86-input-jamstudio-1.2.0.orig/src/js_x.c 2009-02-28 13:53:06.000000000 +0000
+++ src/js_x.c 2009-02-28 13:53:46.000000000 +0000
@@ -27,8 +27,8 @@
#endif
#include <sys/types.h>
-#include "xf86Version.h"
-#if XORG_VERSION_CURRENT >= XF86_VERSION_NUMERIC(3,9,0,0,0)
+#include "xorgVersion.h"
+#if XORG_VERSION_CURRENT >= XORG_VERSION_NUMERIC(3,9,0,0,0)
#define XFREE86_V4 1
#endif
#include "misc.h"