From 0ffbba357c557d9fa5caf9476878a4b9c155a614 Mon Sep 17 00:00:00 2001 From: Blue Swirl Date: Fri, 4 Jun 2010 20:01:07 +0000 Subject: migration-exec: fix OpenBSD build warning Add include directives to get WIFEXITED() and WEXITSTATUS() macros defined. Fixes warnings: CC migration-exec.o /src/qemu/migration-exec.c: In function `exec_close': /src/qemu/migration-exec.c:53: warning: implicit declaration of function `WIFEXITED' /src/qemu/migration-exec.c:54: warning: implicit declaration of function `WEXITSTATUS' Signed-off-by: Blue Swirl --- migration-exec.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/migration-exec.c b/migration-exec.c index 93bde62cd1..a8813b4fbf 100644 --- a/migration-exec.c +++ b/migration-exec.c @@ -20,6 +20,8 @@ #include "sysemu.h" #include "buffered_file.h" #include "block.h" +#include +#include //#define DEBUG_MIGRATION_EXEC -- cgit v1.2.3