mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-02 07:27:19 +08:00
Fixed building on older kernel headers
This commit is contained in:
@@ -28,6 +28,9 @@
|
|||||||
|
|
||||||
#include <linux/input.h>
|
#include <linux/input.h>
|
||||||
|
|
||||||
|
#ifndef INPUT_PROP_ACCELEROMETER
|
||||||
|
#define INPUT_PROP_ACCELEROMETER 0x06
|
||||||
|
#endif
|
||||||
#ifndef INPUT_PROP_MAX
|
#ifndef INPUT_PROP_MAX
|
||||||
#define INPUT_PROP_MAX 0x1f
|
#define INPUT_PROP_MAX 0x1f
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user