From: Carlo Marcelo Arenas Belon <[EMAIL PROTECTED]> 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]> Signed-off-by: Avi Kivity <[EMAIL PROTECTED]> diff --git a/kernel/external-module-compat.h b/kernel/external-module-compat.h index 348b8c8..d3792ea 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> ------------------------------------------------------------------------- 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-commits mailing list kvm-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-commits