summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2019-07-24 17:37:08 -0500
committerVolodymyr Vorobiov <volodymyr.vorobiov@globallogic.com>2020-02-12 12:25:17 +0200
commitef4704339401e54e8dcfec173d270ffbf2f1007e (patch)
tree86fbab87437c3500e9eb61237777a821034f003f
parent6bb7cf8070248a6c8708425293225f0c181fa59a (diff)
downloadmts-io-ef4704339401e54e8dcfec173d270ffbf2f1007e.tar.gz
mts-io-ef4704339401e54e8dcfec173d270ffbf2f1007e.tar.bz2
mts-io-ef4704339401e54e8dcfec173d270ffbf2f1007e.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