diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2010-06-04 20:01:07 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2010-06-04 20:01:07 +0000 |
commit | 0ffbba357c557d9fa5caf9476878a4b9c155a614 (patch) | |
tree | adec35a5f5838f7ec74ed95fa15ca040c33ce7b2 /migration-exec.c | |
parent | 8c0e6340fb53cb3f94c0f43abb19eb485f30840e (diff) | |
download | qemu-0ffbba357c557d9fa5caf9476878a4b9c155a614.zip qemu-0ffbba357c557d9fa5caf9476878a4b9c155a614.tar.gz qemu-0ffbba357c557d9fa5caf9476878a4b9c155a614.tar.bz2 |
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 <blauwirbel@gmail.com>
Diffstat (limited to 'migration-exec.c')
-rw-r--r-- | migration-exec.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/migration-exec.c b/migration-exec.c index 93bde62..a8813b4 100644 --- a/migration-exec.c +++ b/migration-exec.c @@ -20,6 +20,8 @@ #include "sysemu.h" #include "buffered_file.h" #include "block.h" +#include <sys/types.h> +#include <sys/wait.h> //#define DEBUG_MIGRATION_EXEC |