From 564afd8f6d6b429c80daacd684168584284648b3 Mon Sep 17 00:00:00 2001 From: sven-ola Date: Fri, 15 Oct 2010 06:42:39 +0000 Subject: git-svn-id: https://map66.svn.sourceforge.net/svnroot/map66@34 3484d885-4da6-438d-b19d-107d078dd756 --- ip6t_MAP66.c | 3 +++ libip6t_MAP66.c | 4 ++++ 2 files changed, 7 insertions(+) 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 */ -- cgit v1.2.3