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-Url: http://git.lede-project.org./?a=commitdiff_plain;h=1ce9a1070be5e447e1574ea7a627d7ccc1495a05;p=openwrt%2Fstaging%2Fblogic.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 e872447a6bd6..bd2afefa7d00 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 43e630222606..091b7eabf89e 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;