[libvirt] [PATCH v2 03/21] conf: add missing virxml.h include for nwfilter_params.h

Daniel P. Berrangé posted 21 patches 6 years, 12 months ago
There is a newer version of this series
[libvirt] [PATCH v2 03/21] conf: add missing virxml.h include for nwfilter_params.h
Posted by Daniel P. Berrangé 6 years, 12 months ago
The nwfilter_params.h header references the xmlNodePtr type, so must
include the virxml.h header to get the libxml2 types defined.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
---
 src/conf/nwfilter_params.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/conf/nwfilter_params.h b/src/conf/nwfilter_params.h
index 9bdf65c033..f7355c37df 100644
--- a/src/conf/nwfilter_params.h
+++ b/src/conf/nwfilter_params.h
@@ -26,6 +26,7 @@
 # include "virhash.h"
 # include "virbuffer.h"
 # include "virmacaddr.h"
+# include "virxml.h"
 
 typedef enum {
     NWFILTER_VALUE_TYPE_SIMPLE,
-- 
2.17.0

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
Re: [libvirt] [PATCH v2 03/21] conf: add missing virxml.h include for nwfilter_params.h
Posted by John Ferlan 6 years, 12 months ago

On 05/15/2018 01:43 PM, Daniel P. Berrangé wrote:
> The nwfilter_params.h header references the xmlNodePtr type, so must
> include the virxml.h header to get the libxml2 types defined.
> 
> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
> ---
>  src/conf/nwfilter_params.h | 1 +
>  1 file changed, 1 insertion(+)
> 

Reviewed-by: John Ferlan <jferlan@redhat.com>

John

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list