1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/games/rocksndiamonds/files/patch-ac
1999-06-22 17:58:23 +00:00

13 lines
363 B
Plaintext

--- src/joystick.h.orig Sun Jun 20 18:06:28 1999
+++ src/joystick.h Sun Jun 20 18:07:24 1999
@@ -20,7 +20,9 @@
#define JOYSTICK_OFF 0
#define JOYSTICK_AVAILABLE 1
#ifdef __FreeBSD__
+#if !defined(NO_JOYSTICK)
#include <machine/joystick.h>
+#endif
#define DEV_JOYSTICK_0 "/dev/joy0"
#define DEV_JOYSTICK_1 "/dev/joy1"
#define DEV_JOYSTICK_2 "/dev/joy2"