summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2019-07-24 17:37:08 -0500
committerJohn Klug <john.klug@multitech.com>2020-10-14 12:19:09 -0500
commit3c868177da2cc1f3fe8484d96dfc0faade791a1d (patch)
tree1280c34839b9019b47a73f7870ec4ff0a907098d
parentaf02e19b8c11dc6ade4490cff4ca0f25f016b518 (diff)
downloadmts-io-3c868177da2cc1f3fe8484d96dfc0faade791a1d.tar.gz
mts-io-3c868177da2cc1f3fe8484d96dfc0faade791a1d.tar.bz2
mts-io-3c868177da2cc1f3fe8484d96dfc0faade791a1d.zip
Need to define Linux version feature test macros
(cherry picked from commit f9361503237b13383162dc4a9576c9da82b71442)
-rw-r--r--io-module/buttons.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/io-module/buttons.h b/io-module/buttons.h
index 510b7d3..ef80f34 100644
--- a/io-module/buttons.h
+++ b/io-module/buttons.h
@@ -27,6 +27,7 @@
#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