[libvirt] [PATCH 3/7] Don't import loop.h unless HAVE_DECL_LO_FLAGS_AUTOCLEAR is defined

Peter Krempa pkrempa at redhat.com
Thu Mar 7 17:23:42 UTC 2013


On 03/07/13 17:41, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange at redhat.com>
>
> The loop.h on RHEL4 is broken and cannot be imported. We already
> detect this in configure as a side-effect of looking for whether
> LO_FLAGS_AUTOCLEAR is available. We protected the impl with
> HAVE_DECL_LO_FLAGS_AUTOCLEAR, but not the header import
>
> Signed-off-by: Daniel P. Berrange <berrange at redhat.com>
> ---
>   src/util/virfile.c | 3 ++-
>   1 file changed, 2 insertions(+), 1 deletion(-)

ACK.

Peter




More information about the libvir-list mailing list