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.)
If I hack in an 'extern char** environ;' to the top of that file, the build proceeds without error.