mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-06 01:46:25 +00:00
joystick: Fix up Linux joystick code to (mostly) compile on FreeBSD.
This commit is contained in:
@@ -22,7 +22,11 @@
|
||||
#ifndef SDL_sysjoystick_c_h_
|
||||
#define SDL_sysjoystick_c_h_
|
||||
|
||||
#ifdef __linux__
|
||||
#include <linux/input.h>
|
||||
#else /* FreeBSD (and maybe others) */
|
||||
#include <dev/evdev/input.h>
|
||||
#endif
|
||||
|
||||
struct SDL_joylist_item;
|
||||
|
||||
|
Reference in New Issue
Block a user