freebsd-ports/games/rocksndiamonds/files/patch-ac

13 lines
371 B
Text

--- ./src/joystick.h.orig Sun Jan 14 08:13:51 2001
+++ ./src/joystick.h Sun Oct 20 19:19:51 2002
@@ -21,7 +21,9 @@
#define JOYSTICK_AVAILABLE 1
#ifdef __FreeBSD__
-#include <machine/joystick.h>
+#if !defined(NO_JOYSTICK)
+#include <sys/joystick.h>
+#endif
#define DEV_JOYSTICK_0 "/dev/joy0"
#define DEV_JOYSTICK_1 "/dev/joy1"
#define DEV_JOYSTICK_2 "/dev/joy2"