summaryrefslogtreecommitdiffstats
path: root/input/joystick.h
diff options
context:
space:
mode:
Diffstat (limited to 'input/joystick.h')
-rw-r--r--input/joystick.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/input/joystick.h b/input/joystick.h
index 9e017b321d..f7b8cb323d 100644
--- a/input/joystick.h
+++ b/input/joystick.h
@@ -1,3 +1,5 @@
+#ifndef JOYSTICK_H
+#define JOYSTICK_H
#define JOY_BASE (0x100+128)
#define JOY_AXIS0_PLUS (JOY_BASE+0)
@@ -37,3 +39,4 @@ int mp_input_joystick_init(char* dev);
int mp_input_joystick_read(int fd);
+#endif /* JOYSTICK_H */