diff options
author | John Klug <john.klug@multitech.com> | 2020-02-25 13:06:26 -0600 |
---|---|---|
committer | John Klug <john.klug@multitech.com> | 2020-02-25 13:06:26 -0600 |
commit | 937d21665a614dee618e48b51389d3a1e27709bf (patch) | |
tree | b20a98b3d3c0778c6e3c2e2a919a10d4fae063e3 /io-module/buttons.h | |
parent | ace6855ee90434b77bdf99f915804584251a6ea1 (diff) | |
download | mts-io-937d21665a614dee618e48b51389d3a1e27709bf.tar.gz mts-io-937d21665a614dee618e48b51389d3a1e27709bf.tar.bz2 mts-io-937d21665a614dee618e48b51389d3a1e27709bf.zip |
Support mtcpm CPU board4.3.0
Diffstat (limited to 'io-module/buttons.h')
-rw-r--r-- | io-module/buttons.h | 4 |
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" |