File ndiswrapper-kernel_3_14.diff of Package ndiswrapper

Index: ndiswrapper-1.59/driver/ntoskernel.h
===================================================================
--- ndiswrapper-1.59.orig/driver/ntoskernel.h
+++ ndiswrapper-1.59/driver/ntoskernel.h
@@ -343,6 +343,10 @@ static inline void netif_poll_disable(st
 #endif
 #endif
 
+#if LINUX_VERSION_CODE < KERNEL_VERSION(3,8,0)
+#define prandom_seed(seed) net_srandom(seed)
+#endif
+
 #if LINUX_VERSION_CODE < KERNEL_VERSION(3,11,0)
 #define netdev_notifier_info_to_dev(x) ((struct net_device *)(x))
 #endif
openSUSE Build Service is sponsored by