]> git.ipfire.org Git - thirdparty/ulogd2.git/commitdiff
XML: add missing include
authorEric Leblond <eric@regit.org>
Sun, 4 Nov 2012 08:19:34 +0000 (09:19 +0100)
committerEric Leblond <eric@regit.org>
Sun, 4 Nov 2012 08:19:53 +0000 (09:19 +0100)
Inclusion of libnetfilter_acct.h is not enough as the integer type
definition are not included in the header. So if NFCT is disable, the
compilation fails.

output/ulogd_output_XML.c

index bc23ae60f1aba39328c2a1234790610c67875561..ba337391b5689492ad784fdf3f877fcfc57b8f31 100644 (file)
@@ -18,6 +18,8 @@
  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 
+#include <sys/types.h>
+#include <inttypes.h>
 #include "../config.h"
 #ifdef BUILD_NFLOG
 #include <libnetfilter_log/libnetfilter_log.h>