[libvirt] [PATCH 02/12] tests: always declare environ

Pavel Hrdina phrdina at redhat.com
Tue Jan 14 11:25:35 UTC 2020


On Fri, Jan 10, 2020 at 03:41:06PM +0000, Daniel P. Berrangé wrote:
> Some UNIX platforms don't declare 'environ' in their
> header files. We can unconditionally declare it ourselves
> to avoid this problem.
> 
> There is no need to do this in the aa-helper code
> since that is Linux only code.
> 
> Signed-off-by: Daniel P. Berrangé <berrange at redhat.com>
> ---
>  tests/commandhelper.c | 3 +++
>  tests/commandtest.c   | 3 +++
>  2 files changed, 6 insertions(+)

Reviewed-by: Pavel Hrdina <phrdina at redhat.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20200114/1e20f204/attachment-0001.sig>


More information about the libvir-list mailing list