From: Luis R. Rodriguez Date: Tue, 19 Jan 2010 23:58:56 +0000 (-0800) Subject: Fix build with CONFIG_PCMCIA disabled X-Git-Tag: compat-20100517~36 X-Git-Url: https://git.openfabrics.org/?p=~emulex%2Ffor-vlad%2Fold%2Fcompat.git;a=commitdiff_plain;h=7c3c8447d754525abd289533b9e471639f4d3dc3 Fix build with CONFIG_PCMCIA disabled Signed-off-by: Luis R. Rodriguez --- diff --git a/include/linux/compat-2.6.33.h b/include/linux/compat-2.6.33.h index 73fc91c..9559f21 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