aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/joystick.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/sys/joystick.h')
-rw-r--r--sys/sys/joystick.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/sys/sys/joystick.h b/sys/sys/joystick.h
index d070ac050714..051d991ee5f1 100644
--- a/sys/sys/joystick.h
+++ b/sys/sys/joystick.h
@@ -1,8 +1,7 @@
-#ifndef _JOY_IOCTL_H_
-#define _JOY_IOCTL_H_
+#ifndef _MACHINE_JOYSTICK_H_
+#define _MACHINE_JOYSTICK_H_
-#include <sys/types.h>
-#include <sys/ioctl.h>
+#include <sys/ioccom.h>
struct joystick {
int x;
@@ -18,4 +17,4 @@ struct joystick {
#define JOY_GET_X_OFFSET _IOR('J', 5, int) /* get offset on X-axis */
#define JOY_GET_Y_OFFSET _IOR('J', 6, int) /* get offset on Y-axis */
-#endif /* _JOY_IOCTL_H_ */
+#endif /* !_MACHINE_JOYSTICK_H_ */