[Qemu-devel] [PATCH v2] modules: Fix building with --enable-modules

2014-02-26 Thread Fam Zheng
Compiling util/modules.c with modules enabled fails now. Fix it by including qemu-common.h before #ifdef testing in module.c. Signed-off-by: Fam Zheng --- util/module.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/module.c b/util/module.c index dc08c16..863a8a3 10064

Re: [Qemu-devel] [PATCH v2] modules: Fix building with --enable-modules

2014-02-26 Thread Hu Tao
On Thu, Feb 27, 2014 at 06:31:33AM +0800, Fam Zheng wrote: > Compiling util/modules.c with modules enabled fails now. > > Fix it by including qemu-common.h before #ifdef testing in module.c. > > Signed-off-by: Fam Zheng > --- > util/module.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(

Re: [Qemu-devel] [PATCH v2] modules: Fix building with --enable-modules

2014-02-26 Thread Markus Armbruster
Fam Zheng writes: > Compiling util/modules.c with modules enabled fails now. > > Fix it by including qemu-common.h before #ifdef testing in module.c. > > Signed-off-by: Fam Zheng > --- > util/module.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/util/module.c b/util/

Re: [Qemu-devel] [PATCH v2] modules: Fix building with --enable-modules

2014-02-28 Thread Peter Maydell
On 26 February 2014 22:31, Fam Zheng wrote: > Compiling util/modules.c with modules enabled fails now. > > Fix it by including qemu-common.h before #ifdef testing in module.c. > > Signed-off-by: Fam Zheng Applied, thanks. -- PMM