[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 1.1 0/2]: qemu-ga: fix build on openbsd
From: |
Luiz Capitulino |
Subject: |
[Qemu-devel] [PATCH 1.1 0/2]: qemu-ga: fix build on openbsd |
Date: |
Wed, 23 May 2012 15:48:03 -0300 |
Build error found by buildbot:
qga/commands-posix.c: In function 'qmp_guest_shutdown':
qga/commands-posix.c:65: error: 'environ' undeclared (first use in this
function)
qga/commands-posix.c:65: error: (Each undeclared identifier is reported only
once
qga/commands-posix.c:65: error: for each function it appears in.)
On F16 environ is declared in <unistd.h>, but that obviously doesn't
happen on all systems.
Tested on OpenBSD 4.9.
PS: I get zillions of -Wno-redundant-decls errors on OpenBSD 4.8 and still
get other warnnigs if I drop that flag.
configure | 19 +++++++++++++++++++
qga/commands-posix.c | 6 +++++-
2 files changed, 24 insertions(+), 1 deletion(-)
- [Qemu-devel] [PATCH 1.1 0/2]: qemu-ga: fix build on openbsd,
Luiz Capitulino <=