From 7c3c8447d754525abd289533b9e471639f4d3dc3 Mon Sep 17 00:00:00 2001 From: "Luis R. Rodriguez" Date: Tue, 19 Jan 2010 15:58:56 -0800 Subject: [PATCH] Fix build with CONFIG_PCMCIA disabled Signed-off-by: Luis R. Rodriguez --- include/linux/compat-2.6.33.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/linux/compat-2.6.33.h b/include/linux/compat-2.6.33.h index 73fc91c8a0de..9559f21d1738 100644 --- a/include/linux/compat-2.6.33.h +++ b/include/linux/compat-2.6.33.h @@ -6,9 +6,13 @@ #if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,33)) #include +#if defined(CONFIG_PCCARD) || defined(CONFIG_PCCARD_MODULE) +#if defined(CONFIG_PCMCIA) || defined(CONFIG_PCMCIA_MODULE) #include #include #include +#endif +#endif #include #include -- 2.30.2