diff options
Diffstat (limited to 'src/eventcomm.h')
-rw-r--r-- | src/eventcomm.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/eventcomm.h b/src/eventcomm.h index 8a78c38..93bf34d 100644 --- a/src/eventcomm.h +++ b/src/eventcomm.h @@ -19,10 +19,14 @@ #ifndef _EVENTCOMM_H_ #define _EVENTCOMM_H_ -#include "linux_input.h" +#ifdef __LINUX + +#include <linux/input.h> /* for auto-dev: */ #define DEV_INPUT_EVENT "/dev/input" #define EVENT_DEV_NAME "event" +#endif + #endif /* _EVENTCOMM_H_ */ |