summaryrefslogtreecommitdiff
path: root/io-module/buttons.h
diff options
context:
space:
mode:
Diffstat (limited to 'io-module/buttons.h')
-rw-r--r--io-module/buttons.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/io-module/buttons.h b/io-module/buttons.h
index c9cd198..ef80f34 100644
--- a/io-module/buttons.h
+++ b/io-module/buttons.h
@@ -27,6 +27,10 @@
#include <linux/ctype.h>
#include <linux/io.h>
#include <linux/module.h>
+#include <linux/version.h>
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4,11,0)
+#include <linux/signalfd.h>
+#endif
#include "mts_io_module.h"
#include "mts_io.h"