File ndiswrapper-kernel-4.12.patch of Package ndiswrapper
diff -urx obj /var/tmp/build-root/standard-x86_64/home/abuild/rpmbuild/BUILD/ndiswrapper-1.59~/driver/ntoskernel.c /var/tmp/build-root/standard-x86_64/home/abuild/rpmbuild/BUILD/ndiswrapper-1.59/driver/ntoskernel.c
--- /var/tmp/build-root/standard-x86_64/home/abuild/rpmbuild/BUILD/ndiswrapper-1.59~/driver/ntoskernel.c 2018-05-16 15:28:03.138798978 +0200
+++ /var/tmp/build-root/standard-x86_64/home/abuild/rpmbuild/BUILD/ndiswrapper-1.59/driver/ntoskernel.c 2018-05-16 15:30:06.372863961 +0200
@@ -20,6 +20,7 @@
#include "loader.h"
#include "ntoskernel_exports.h"
#include <linux/vmalloc.h>
+#include <linux/sched/signal.h>
/* MDLs describe a range of virtual address with an array of physical
* pages right after the header. For different ranges of virtual
diff -urx obj /var/tmp/build-root/standard-x86_64/home/abuild/rpmbuild/BUILD/ndiswrapper-1.59~/driver/workqueue.c /var/tmp/build-root/standard-x86_64/home/abuild/rpmbuild/BUILD/ndiswrapper-1.59/driver/workqueue.c
--- /var/tmp/build-root/standard-x86_64/home/abuild/rpmbuild/BUILD/ndiswrapper-1.59~/driver/workqueue.c 2013-11-28 20:42:36.000000000 +0100
+++ /var/tmp/build-root/standard-x86_64/home/abuild/rpmbuild/BUILD/ndiswrapper-1.59/driver/workqueue.c 2018-05-16 15:30:40.005427381 +0200
@@ -14,6 +14,7 @@
*/
#include "ntoskernel.h"
+#include <linux/sched/signal.h>
struct workqueue_thread {
spinlock_t lock;
diff -urx obj /var/tmp/build-root/standard-x86_64/home/abuild/rpmbuild/BUILD/ndiswrapper-1.59~/driver/wrapndis.c /var/tmp/build-root/standard-x86_64/home/abuild/rpmbuild/BUILD/ndiswrapper-1.59/driver/wrapndis.c
--- /var/tmp/build-root/standard-x86_64/home/abuild/rpmbuild/BUILD/ndiswrapper-1.59~/driver/wrapndis.c 2018-05-16 15:28:03.138798978 +0200
+++ /var/tmp/build-root/standard-x86_64/home/abuild/rpmbuild/BUILD/ndiswrapper-1.59/driver/wrapndis.c 2018-05-16 15:30:06.372863961 +0200
@@ -17,6 +17,7 @@
#include <linux/ip.h>
#include <linux/in.h>
#include <linux/proc_fs.h>
+#include <linux/sched/signal.h>
#include "ndis.h"
#include "iw_ndis.h"
#include "pnp.h"