linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] [compat-2.6] Fix building on 2.6.31
@ 2009-07-31 18:52 Hauke Mehrtens
  2009-07-31 19:09 ` Luis R. Rodriguez
  0 siblings, 1 reply; 2+ messages in thread
From: Hauke Mehrtens @ 2009-07-31 18:52 UTC (permalink / raw)
  To: lrodriguez; +Cc: linux-wireless, Hauke Mehrtens

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

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
---
 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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-07-31 19:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-31 18:52 [PATCH] [compat-2.6] Fix building on 2.6.31 Hauke Mehrtens
2009-07-31 19:09 ` Luis R. Rodriguez

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).