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-16 10:16:27 -0500
commit9271e594de3eaeacd89ccf983a5a62d8ce22acfa (patch)
tree1280c34839b9019b47a73f7870ec4ff0a907098d
parentf4d903e863bc77fe0cc7de771d497fede779a772 (diff)
downloadmts-io-9271e594de3eaeacd89ccf983a5a62d8ce22acfa.tar.gz
mts-io-9271e594de3eaeacd89ccf983a5a62d8ce22acfa.tar.bz2
mts-io-9271e594de3eaeacd89ccf983a5a62d8ce22acfa.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