From fe2e592b9b0e1bce2051db295dad471650c0c430 Mon Sep 17 00:00:00 2001 From: "Luis R. Rodriguez" Date: Thu, 10 Dec 2009 22:50:12 -0800 Subject: [PATCH] Fix compile for iwlagn due to new UTS release header changes Signed-off-by: Luis R. Rodriguez --- patches/06-header-changes.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/patches/06-header-changes.patch b/patches/06-header-changes.patch index 44f43cf4f34a..baebc17edc47 100644 --- a/patches/06-header-changes.patch +++ b/patches/06-header-changes.patch @@ -64,3 +64,17 @@ cases. /** * DOC: Key handling basics +--- a/drivers/net/wireless/iwlwifi/iwl-core.h 2009-12-10 22:29:01.000000000 -0800 ++++ b/drivers/net/wireless/iwlwifi/iwl-core.h 2009-12-10 22:47:19.000000000 -0800 +@@ -63,7 +63,11 @@ + #ifndef __iwl_core_h__ + #define __iwl_core_h__ + ++#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,33)) + #include ++#else ++#include ++#endif + + /************************ + * forward declarations * -- 2.30.2