netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Arturo Borrero Gonzalez <arturo.borrero.glez@gmail.com>
To: netfilter-devel@vger.kernel.org
Subject: [libnftables PATCH] build: fix build error
Date: Mon, 16 Sep 2013 20:20:34 +0200	[thread overview]
Message-ID: <20130916182034.6685.68337.stgit@nfdev.cica.es> (raw)

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);


             reply	other threads:[~2013-09-16 18:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-16 18:20 Arturo Borrero Gonzalez [this message]
2013-09-16 20:44 ` [libnftables PATCH] build: fix build error Pablo Neira Ayuso

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130916182034.6685.68337.stgit@nfdev.cica.es \
    --to=arturo.borrero.glez@gmail.com \
    --cc=netfilter-devel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).