summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2019-07-24 16:43:42 -0500
committerVolodymyr Vorobiov <volodymyr.vorobiov@globallogic.com>2020-02-12 12:23:01 +0200
commit6bb7cf8070248a6c8708425293225f0c181fa59a (patch)
treeffdcb5eac958fe90b81ecd51365909f43f62e589
parent57651686d90c05a186604a27a532834fa7979c15 (diff)
downloadmts-io-6bb7cf8070248a6c8708425293225f0c181fa59a.tar.gz
mts-io-6bb7cf8070248a6c8708425293225f0c181fa59a.tar.bz2
mts-io-6bb7cf8070248a6c8708425293225f0c181fa59a.zip
New 4.19 kernel set moved kill_pid to new include file
(cherry picked from commit 10610fe2650d15d48c552bf98cf611316a3b21ae)
-rw-r--r--io-module/buttons.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/io-module/buttons.h b/io-module/buttons.h
index c9cd198..510b7d3 100644
--- a/io-module/buttons.h
+++ b/io-module/buttons.h
@@ -27,6 +27,9 @@
#include <linux/ctype.h>
#include <linux/io.h>
#include <linux/module.h>
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4,11,0)
+#include <linux/signalfd.h>
+#endif
#include "mts_io_module.h"
#include "mts_io.h"