From: Luis R. Rodriguez Date: Mon, 11 Jan 2010 17:48:04 +0000 (-0800) Subject: Add missing headers for 2.6.24 and 2.6.25 X-Git-Tag: next-20100113~32 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=1ce9a1070be5e447e1574ea7a627d7ccc1495a05;p=~emulex%2Ffor-vlad%2Fcompat.git Add missing headers for 2.6.24 and 2.6.25 Signed-off-by: Luis R. Rodriguez --- diff --git a/compat/compat-2.6.25.c b/compat/compat-2.6.25.c index e872447..bd2afef 100644 --- a/compat/compat-2.6.25.c +++ b/compat/compat-2.6.25.c @@ -13,6 +13,8 @@ /* All things not in 2.6.22, 2.6.23 and 2.6.24 */ #if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,25)) +#include + /* Backport work for QoS dependencies (kernel/pm_qos_params.c) * ipw2100 now makes use of * pm_qos_add_requirement(), diff --git a/include/linux/compat-2.6.24.h b/include/linux/compat-2.6.24.h index 43e6302..091b7ea 100644 --- a/include/linux/compat-2.6.24.h +++ b/include/linux/compat-2.6.24.h @@ -7,6 +7,8 @@ /* Compat work for 2.6.21, 2.6.22 and 2.6.23 */ #if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,24)) +#include + /* Added on 2.6.24 in include/linux/types.h by Al viro on commit 142956af */ typedef unsigned long uintptr_t;