1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-04 22:33:27 +00:00
freebsd-ports/emulators/xmess/files/patch-ag
Chris D. Faulhaber 9489c320c5 Xmess is a game console emulator which currently supports the
Nintendo Entertainment System (NES), Sega Genesis/Megadrive,
TRS-80 models 1 and 3, Colour Genie, Colecovision, Vectrex,
Apple ][ series, Atari 800, Atari 5200, Sega Master System/Game
Gear, Bally Astrocade, Kaypro 2x and PDP-1.

PR:		13201
Submitted by:	Juergen Lock <nox@jelal.kn-bremen.de>
1999-12-24 14:01:14 +00:00

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