summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e5e5d99)
raw | patch | inline | side by side (parent: e5e5d99)
author | Marc Fournier <marc.fournier@camptocamp.com> | |
Tue, 10 May 2016 16:01:49 +0000 (18:01 +0200) | ||
committer | Marc Fournier <marc.fournier@camptocamp.com> | |
Wed, 10 Aug 2016 06:07:33 +0000 (08:07 +0200) |
Some versions of sys/capability.h seem to have conflicting declarations
with other (linux) kernel header files, so order matters.
with other (linux) kernel header files, so order matters.
src/iptables.c | patch | blob | history |
diff --git a/src/iptables.c b/src/iptables.c
index a2ed4c731e11bda9dfa9d7af92d18a09f90ccd27..66dbab7fbf9913eeb9a7f9af08bbac96e56095ea 100644 (file)
--- a/src/iptables.c
+++ b/src/iptables.c
#include "plugin.h"
#include "configfile.h"
+#include <libiptc/libiptc.h>
+#include <libiptc/libip6tc.h>
+
#ifdef HAVE_SYS_CAPABILITY_H
# include <sys/capability.h>
#endif
-#include <libiptc/libiptc.h>
-#include <libiptc/libip6tc.h>
-
/*
* iptc_handle_t was available before libiptc was officially available as a
* shared library. Note, that when the shared lib was introduced, the API and