File ndiswrapper-1.59-kernel-4.3.patch of Package ndiswrapper

diff -urN a/driver/loader.c b/driver/loader.c
--- a/driver/loader.c	2016-01-03 10:39:59.052545095 -0500
+++ b/driver/loader.c	2016-01-03 10:36:37.888226761 -0500
@@ -22,6 +22,7 @@
 #include <linux/kmod.h>
 #include <linux/miscdevice.h>
 #include <asm/uaccess.h>
+#include <linux/vmalloc.h>
 
 /*
   Network adapter: ClassGuid = {4d36e972-e325-11ce-bfc1-08002be10318}
diff -urN a/driver/ntoskernel.c b/driver/ntoskernel.c
--- a/driver/a/driver/ntoskernel.c	2016-01-03 10:39:59.052545095 -0500
+++ b/driver/ntoskernel.c	2016-01-03 10:37:11.515611242 -0500
@@ -19,6 +19,7 @@
 #include "pnp.h"
 #include "loader.h"
 #include "ntoskernel_exports.h"
+#include <linux/vmalloc.h>
 
 /* MDLs describe a range of virtual address with an array of physical
  * pages right after the header. For different ranges of virtual
diff -urN a/driver/pe_linker.c b/driver/pe_linker.c
--- a/driver/pe_linker.c	2016-01-03 10:39:59.052545095 -0500
+++ b/driver/pe_linker.c	2016-01-03 10:37:54.842818225 -0500
@@ -28,6 +28,8 @@
 
 #endif
 
+#include <linux/vmalloc.h>
+
 struct pe_exports {
 	char *dll;
 	char *name;
openSUSE Build Service is sponsored by