mirror of
https://git.freebsd.org/ports.git
synced 2025-06-03 20:06:29 -04:00
Fix build on -current (machine/joystick.h -> sys/joystick.h)
This commit is contained in:
parent
09566ad638
commit
9913faf6ee
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=68603
1 changed files with 6 additions and 5 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue