Fixes the following compilation error : in file included from kernel/include/linux/kvm_para.h:19, from kernel/external-module-compat.h:13, from <command line>:1: kernel/include/asm/kvm_para.h: In function 'kvm_para_available': kernel/include/asm/kvm_para.h:87: warning: implicit declaration of function 'memcpy' kernel/include/asm/kvm_para.h:92: warning: implicit declaration of function 'strcmp' In file included from include/linux/string.h:24, from include/linux/bitmap.h:8, from include/linux/cpumask.h:86, from include/linux/node.h:23, from include/linux/cpu.h:23, from kernel/external-module-compat.h:14, from <command line>:1: include/asm/string.h: At top level: include/asm/string.h:104: error: static declaration of 'strcmp' follows non-static declaration
Signed-off-by: Carlo Marcelo Arenas Belon <[EMAIL PROTECTED]> --- kernel/external-module-compat.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/kernel/external-module-compat.h b/kernel/external-module-compat.h index 3794a99..c6a7d03 100644 --- a/kernel/external-module-compat.h +++ b/kernel/external-module-compat.h @@ -9,6 +9,7 @@ #include <linux/compiler.h> #include <linux/version.h> +#include <linux/string.h> #include "include/linux/kvm.h" #include "include/linux/kvm_para.h" #include <linux/cpu.h> -- 1.5.2.5 ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel