logo       

[PATCH] [compat-2.6] Fix building on 2.6.31: msg#01608

linux-wireless

Subject: [PATCH] [compat-2.6] Fix building on 2.6.31

The netdevice.h header file should be loaded before dev_change_net_namespace is
overwritten.

Signed-off-by: Hauke Mehrtens <hauke@xxxxxxxxxx>
---
compat/compat-2.6.32.h | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/compat/compat-2.6.32.h b/compat/compat-2.6.32.h
index 4f5d0c7..f7081f2 100644
--- a/compat/compat-2.6.32.h
+++ b/compat/compat-2.6.32.h
@@ -7,6 +7,8 @@

#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,32))

+#include <linux/netdevice.h>
+
#define SDIO_VENDOR_ID_INTEL 0x0089
#define SDIO_DEVICE_ID_INTEL_IWMC3200WIMAX 0x1402
#define SDIO_DEVICE_ID_INTEL_IWMC3200WIFI 0x1403
--
1.6.2.1

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html

<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | Mail Home | sitemap | FAQ | advertise