Fix build on -current (machine/joystick.h -> sys/joystick.h)

This commit is contained in:
Kris Kennaway 2002-10-22 19:28:05 +00:00
parent 09566ad638
commit 9913faf6ee
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=68603

View file

@ -1,11 +1,12 @@
--- 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
--- ./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 <machine/joystick.h>
+#include <sys/joystick.h>
+#endif
#define DEV_JOYSTICK_0 "/dev/joy0"
#define DEV_JOYSTICK_1 "/dev/joy1"