From ca435eb9112e873853d3cf201ee3f0c5c76bf89f Mon Sep 17 00:00:00 2001 From: Pravin B Shelar Date: Thu, 7 Jun 2012 15:20:27 -0700 Subject: [PATCH] datapath: Fix sparse warning on BUILD_BUG_ON_NOT_POWER_OF_2 definition. BUILD_BUG_ON_NOT_POWER_OF_2 could been defined in kernel.h or bug.h depending on kernel version. Signed-off-by: Pravin B Shelar Acked-by: Jesse Gross --- datapath/linux/compat/include/linux/kernel.h | 1 + 1 file changed, 1 insertion(+) diff --git a/datapath/linux/compat/include/linux/kernel.h b/datapath/linux/compat/include/linux/kernel.h index bd6e9a49..812f2132 100644 --- a/datapath/linux/compat/include/linux/kernel.h +++ b/datapath/linux/compat/include/linux/kernel.h @@ -7,6 +7,7 @@ #endif #include +#include #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,28) #undef pr_emerg #define pr_emerg(fmt, ...) \ -- 2.30.2