# HG changeset patch # User Ryan C. Gordon # Date 1132672241 0 # Node ID 58538e140e2d878dc5919291a66b9fa4b53b93ba # Parent a9542c38dcdb0dbc2e9f254ff24e54825ffa8b1a Apparently some bits of the BSD joystick code are x86 only...joystick.h only exists at /usr/sys/arch/i386/include/joystick.h, for example. diff -r a9542c38dcdb -r 58538e140e2d src/joystick/bsd/SDL_sysjoystick.c --- a/src/joystick/bsd/SDL_sysjoystick.c Tue Nov 22 15:07:41 2005 +0000 +++ b/src/joystick/bsd/SDL_sysjoystick.c Tue Nov 22 15:10:41 2005 +0000 @@ -60,7 +60,7 @@ #include #endif -#if defined(__NetBSD__) || defined(__OpenBSD__) +#if defined(__NetBSD__) || (defined(__OpenBSD__) && defined(__i386__)) #include #endif @@ -370,7 +370,7 @@ int nbutton, naxe = -1; Sint32 v; -#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) +#if defined(__FreeBSD__) || defined(__NetBSD__) || (defined(__OpenBSD__) && defined(__i386__)) struct joystick gameport; static int x, y, xmin = 0xffff, ymin = 0xffff, xmax = 0, ymax = 0;