mirror of
https://github.com/Ryujinx/SDL.git
synced 2025-01-09 09:15:31 +00:00
Allow building against old Linux kernels.
This commit is contained in:
parent
4aab2342e9
commit
44d8721087
|
@ -53,6 +53,10 @@
|
||||||
#include "../hidapi/SDL_hidapijoystick_c.h"
|
#include "../hidapi/SDL_hidapijoystick_c.h"
|
||||||
|
|
||||||
/* This isn't defined in older Linux kernel headers */
|
/* This isn't defined in older Linux kernel headers */
|
||||||
|
#ifndef MSC_TIMESTAMP
|
||||||
|
#define MSC_TIMESTAMP 0x05
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef SYN_DROPPED
|
#ifndef SYN_DROPPED
|
||||||
#define SYN_DROPPED 3
|
#define SYN_DROPPED 3
|
||||||
#endif
|
#endif
|
||||||
|
@ -119,6 +123,7 @@
|
||||||
#define BTN_TRIGGER_HAPPY40 0x2e7
|
#define BTN_TRIGGER_HAPPY40 0x2e7
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#include "../../core/linux/SDL_evdev_capabilities.h"
|
#include "../../core/linux/SDL_evdev_capabilities.h"
|
||||||
#include "../../core/linux/SDL_udev.h"
|
#include "../../core/linux/SDL_udev.h"
|
||||||
#include "../../core/linux/SDL_sandbox.h"
|
#include "../../core/linux/SDL_sandbox.h"
|
||||||
|
|
Loading…
Reference in a new issue