From: Julian Andres Klode <jak@debian.org>
Date: Thu, 30 Jun 2016 13:48:08 +0200
Subject: loader.h: Only include kernel header when building kernel stuff

This fixes the FTBFS on the user stuff.
---
 driver/loader.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/driver/loader.h b/driver/loader.h
index 1ea5e0c..734d491 100644
--- a/driver/loader.h
+++ b/driver/loader.h
@@ -16,9 +16,11 @@
 #ifndef _LOADER_H_
 #define _LOADER_H_
 
+#ifdef __KERNEL__
 #if LINUX_VERSION_CODE > KERNEL_VERSION(4,0,0)
 #include <linux/vmalloc.h>
 #endif
+#endif
 
 #include "ndiswrapper.h"
 
