mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-15 23:50:44 +00:00
15 lines
309 B
Plaintext
15 lines
309 B
Plaintext
|
Index: src/unix/FREEBSD.c
|
||
|
@@ -10,7 +10,12 @@
|
||
|
#include "sound.h"
|
||
|
|
||
|
#ifdef USE_JOYSTICK
|
||
|
+#ifdef __FreeBSD__
|
||
|
+#include <machine/joystick.h>
|
||
|
+#define JS_DATA_TYPE joystick
|
||
|
+#else
|
||
|
#include <linux/joystick.h>
|
||
|
+#endif
|
||
|
struct JS_DATA_TYPE joy_data,joy_orig;
|
||
|
int joy_fd; /* joystick file descriptor */
|
||
|
#endif
|