mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-18 22:06:04 +01:00
abfa84c322
This reverts commit 52f92278a4
and fixes compilation on 2.6.33.x kernels.
12 lines
548 B
Diff
12 lines
548 B
Diff
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
|