[libvirt] [PATCH 2/2] examples: include config.h
Eric Blake
eblake at redhat.com
Mon Jan 7 15:03:13 UTC 2019
On 1/4/19 9:22 AM, Ján Tomko wrote:
> Since gnulib commit 6954995d unistd.h is included via stdlib.h
> on BSD systems, which requires config.h to be included first.
>
> Add config.h to the files that use it.
>
> Part of this commit reverts commit 6ee918de7462a20947241ec817c4571d6b84a716
>
> Signed-off-by: Ján Tomko <jtomko at redhat.com>
> ---
I didn't see this patch before posting my counterproposal that quits
including gnulib headers on standaline binaries. I'll guess we may end
up reverting this, based on how my patch goes.
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3226
Virtualization: qemu.org | libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20190107/fee23f76/attachment-0001.sig>
More information about the libvir-list
mailing list