summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2019-07-24 16:43:42 -0500
committerJohn Klug <john.klug@multitech.com>2020-10-14 12:18:40 -0500
commitaf02e19b8c11dc6ade4490cff4ca0f25f016b518 (patch)
tree7de3b1afff27d2da8b6e32d3445a80fad372ae1d
parent557d3d2674f6fabfd10f882f1c110888ff959f77 (diff)
downloadmts-io-af02e19b8c11dc6ade4490cff4ca0f25f016b518.tar.gz
mts-io-af02e19b8c11dc6ade4490cff4ca0f25f016b518.tar.bz2
mts-io-af02e19b8c11dc6ade4490cff4ca0f25f016b518.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"