summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ip6t_MAP66.c3
-rw-r--r--libip6t_MAP66.c4
2 files changed, 7 insertions, 0 deletions
diff --git a/ip6t_MAP66.c b/ip6t_MAP66.c
index 9491226..b58a364 100644
--- a/ip6t_MAP66.c
+++ b/ip6t_MAP66.c
@@ -61,6 +61,9 @@ static void map16(
# define __read_mostly
# define xt_register_target ip6t_register_target
# define xt_unregister_target ip6t_unregister_target
+#endif
+
+#ifndef pr_devel
# ifdef DEBUG
# define pr_devel(fmt, ...) printk(fmt, ##__VA_ARGS__)
# else
diff --git a/libip6t_MAP66.c b/libip6t_MAP66.c
index c710a69..0cb047d 100644
--- a/libip6t_MAP66.c
+++ b/libip6t_MAP66.c
@@ -36,6 +36,10 @@
# define NFPROTO_IPV6 PF_INET6
#endif
+#ifndef XT_ALIGN
+# define XT_ALIGN IP6T_ALIGN
+#endif
+
#include "ip6t_MAP66.h"
/* One's complement add */