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

Daniel P. Berrangé berrange at redhat.com
Tue May 15 17:43:19 UTC 2018


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 at 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




More information about the libvir-list mailing list