]> git.openfabrics.org - ~emulex/for-vlad/old/compat.git/commitdiff
Add missing headers for 2.6.24 and 2.6.25
authorLuis R. Rodriguez <lrodriguez@atheros.com>
Mon, 11 Jan 2010 17:48:04 +0000 (09:48 -0800)
committerLuis R. Rodriguez <lrodriguez@atheros.com>
Mon, 11 Jan 2010 17:48:04 +0000 (09:48 -0800)
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
compat/compat-2.6.25.c
include/linux/compat-2.6.24.h

index e872447a6bd69a55e11f0f03ebc093a59b8a8a15..bd2afefa7d004ff0f8d01c44b5cabd2e3d48fe2b 100644 (file)
@@ -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 <linux/miscdevice.h>
+
 /* Backport work for QoS dependencies (kernel/pm_qos_params.c)
  * ipw2100 now makes use of
  * pm_qos_add_requirement(),
index 43e63022260682ac69d731f0dbe58632857e4c02..091b7eabf89e0b77e9b1360bd731fcf78bcdc42a 100644 (file)
@@ -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 <linux/skbuff.h>
+
 /* Added on 2.6.24 in include/linux/types.h by Al viro on commit 142956af */
 typedef unsigned long               uintptr_t;