Skip to content

Commit

Permalink
Fixed bug 3473 - can't build on linux with an old kernel
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Nov 1, 2016
1 parent 9a8642b commit 539afc5
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/core/linux/SDL_evdev.c
Expand Up @@ -57,6 +57,14 @@
#define SYN_DROPPED 3
#endif

/* These are not defined in older Linux kernel headers */
#ifndef ABS_MT_SLOT
#define ABS_MT_SLOT 0x2f
#define ABS_MT_POSITION_X 0x35
#define ABS_MT_POSITION_Y 0x36
#define ABS_MT_TRACKING_ID 0x39
#endif

typedef struct SDL_evdevlist_item
{
char *path;
Expand Down

0 comments on commit 539afc5

Please sign in to comment.