Replace <machine/joystick.h> with <sys/joystick.h> to fix the build.

This commit is contained in:
Akinori MUSHA 2002-11-28 12:42:56 +00:00
parent 7d6217e4b2
commit cb277bb0b6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=71203

View file

@ -1,5 +1,14 @@
--- src/js/js.h.orig Mon Sep 2 15:05:43 2002
+++ src/js/js.h Wed Sep 4 04:44:26 2002
+++ src/js/js.h Thu Nov 28 21:43:15 2002
@@ -63,7 +63,7 @@
# include <fcntl.h>
# if defined(__FreeBSD__) || defined(__NetBSD__)
-# include <machine/joystick.h>
+# include <sys/joystick.h>
# define JS_DATA_TYPE joystick
# define JS_RETURN (sizeof(struct JS_DATA_TYPE))
# elif defined(__linux__)
@@ -132,9 +132,9 @@