qemu-e2k/qga
Luiz Capitulino 2c02cbf6e9 qemu-ga: Fix missing environ declaration
Commit 3674838cd0 uses the environ global
variable, but is relying on environ to be declared somewhere else.

This worked for me because on F16 environ is declared in <unistd.h>, but
that doesn't happen in OpenBSD for example, causing a build failure.

This commit fixes the build error by declaring environ if it hasn't
being declared yet.

Also fixes a build warning due to a missing <sys/wait.h> include.

Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
2012-05-24 13:06:33 -05:00
..
channel-posix.c qemu-ga: Implement alternative to O_ASYNC 2012-05-01 10:49:23 +00:00
channel-win32.c qemu-ga: for w32, fix leaked handle ov.hEvent in ga_channel_write() 2012-03-19 11:31:04 +00:00
channel.h qemu-ga: move channel/transport functionality into wrapper class 2012-02-23 15:40:16 -06:00
commands-posix.c qemu-ga: Fix missing environ declaration 2012-05-24 13:06:33 -05:00
commands-win32.c qemu-ga: add guest-network-get-interfaces command 2012-03-12 15:09:18 -05:00
commands.c qemu-ga: align versioning with QEMU_VERSION 2012-05-15 09:17:06 -05:00
guest-agent-command-state.c
guest-agent-core.h qemu-ga: align versioning with QEMU_VERSION 2012-05-15 09:17:06 -05:00
service-win32.c qemu-ga: add Windows service integration 2012-02-23 15:43:50 -06:00
service-win32.h qemu-ga: add Windows service integration 2012-02-23 15:43:50 -06:00