slackbuilds_ponce/network/broadcom-sta/broadcom-sta-5.60.48.36-linux-2.6.33.patch

13 lines
548 B
Diff
Raw Normal View History

diff -Naur broadcom-sta-5.60.48.36.orig/src/include/linuxver.h broadcom-sta-5.60.48.36/src/include/linuxver.h
--- broadcom-sta-5.60.48.36.orig/src/include/linuxver.h 2009-09-16 07:25:26.00000000 +0900
+++ broadcom-sta-5.60.48.36/src/include/linuxver.h 2009-09-16 07:25:26.00000000 +0900
@@ -19,6 +19,8 @@
#include <linux/version.h>
#if (LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 0))
#include <linux/config.h>
+#elif (LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 33))
+#include <generated/autoconf.h>
#else
#include <linux/autoconf.h>
#endif