mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-05 01:16:26 +00:00
Fixed building on FreeBSD
Alex S Looks like we have a collision with https://hg.libsdl.org/SDL/rev/cd774daff9f6. (Again, the headers in the base system are intended for drivers and should not be used for compiling non-base applications. At least that's the policy for now: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240964#c19.)
This commit is contained in:
@@ -22,11 +22,7 @@
|
||||
#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