Mixing code compiled with and without -DNO_SHARED_LIBS is fine as long as the structs have the same layout. This patch prevents a potential (currently non-triggerable) "ip6tables: target (null)<123> is missing a version" error. Signed-off-by: Jan Engelhardt <jengelh@xxxxxxxxxx> --- include/xtables.h.in | 4 ---- 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/include/xtables.h.in b/include/xtables.h.in index 222e2a9..7468302 100644 --- a/include/xtables.h.in +++ b/include/xtables.h.in @@ -90,9 +90,7 @@ struct xtables_match unsigned int option_offset; struct xt_entry_match *m; unsigned int mflags; -#ifdef NO_SHARED_LIBS unsigned int loaded; /* simulate loading so options are merged properly */ -#endif }; struct xtables_target @@ -152,9 +150,7 @@ struct xtables_target struct xt_entry_target *t; unsigned int tflags; unsigned int used; -#ifdef NO_SHARED_LIBS unsigned int loaded; /* simulate loading so options are merged properly */ -#endif }; struct xtables_rule_match { -- 1.6.3.3 -- 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