netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [libnftables PATCH] build: fix build error
@ 2013-09-16 18:20 Arturo Borrero Gonzalez
  2013-09-16 20:44 ` Pablo Neira Ayuso
  0 siblings, 1 reply; 2+ messages in thread
From: Arturo Borrero Gonzalez @ 2013-09-16 18:20 UTC (permalink / raw)
  To: netfilter-devel

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@gmail.com>
---
 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);


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [libnftables PATCH] build: fix build error
  2013-09-16 18:20 [libnftables PATCH] build: fix build error Arturo Borrero Gonzalez
@ 2013-09-16 20:44 ` Pablo Neira Ayuso
  0 siblings, 0 replies; 2+ messages in thread
From: Pablo Neira Ayuso @ 2013-09-16 20:44 UTC (permalink / raw)
  To: Arturo Borrero Gonzalez; +Cc: netfilter-devel

On Mon, Sep 16, 2013 at 08:20:34PM +0200, Arturo Borrero Gonzalez wrote:
> This declaration was missing and is needed in case you compile libnftables
> without XML parsing support.

Applied, thanks.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-09-16 20:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-16 18:20 [libnftables PATCH] build: fix build error Arturo Borrero Gonzalez
2013-09-16 20:44 ` Pablo Neira Ayuso

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).