Nigel Horne wrote: > ./configure --enable-linux-aio --enable-io-thread --enable-kvm > make > ... > /home/njh/src/qemu/cpus.c:532: error: ‘exit_request’ undeclared (first > use in this function) > /home/njh/src/qemu/cpus.c:532: error: (Each undeclared identifier is > reported only once > /home/njh/src/qemu/cpus.c:532: error: for each function it appears in.) > > Perhaps cpus.c needs to have: > > extern volatile sig_atomic_t exit_request;
Better include the header: ----------> Signed-off-by: Jan Kiszka <[email protected]> --- cpus.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/cpus.c b/cpus.c index fcd0f09..eef0bb8 100644 --- a/cpus.c +++ b/cpus.c @@ -30,6 +30,7 @@ #include "gdbstub.h" #include "dma.h" #include "kvm.h" +#include "exec-all.h" #include "cpus.h" -- 1.7.1
