[libnftables PATCH] build: fix build error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This declaration was missing and is needed in case you compile libnftables
without XML parsing support.

Signed-off-by: Arturo Borrero Gonzalez <arturo.borrero.glez@xxxxxxxxx>
---
 src/expr/data_reg.h |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/expr/data_reg.h b/src/expr/data_reg.h
index f41a483..98c3a4c 100644
--- a/src/expr/data_reg.h
+++ b/src/expr/data_reg.h
@@ -23,6 +23,10 @@ union nft_data_reg {
 #define json_t void
 #endif
 
+#ifndef XML_PARSING
+#define mxml_node_t void
+#endif
+
 int nft_data_reg_snprintf(char *buf, size_t size, union nft_data_reg *reg,
                         uint32_t output_format, uint32_t flags, int reg_type);
 int nft_data_reg_xml_parse(union nft_data_reg *reg, mxml_node_t *tree);

--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux