diff options
author | Jan Engelhardt <jengelh@medozas.de> | 2009-02-10 10:48:28 +0100 |
---|---|---|
committer | Jan Engelhardt <jengelh@medozas.de> | 2009-02-10 10:52:17 +0100 |
commit | c31870f9bebb3d4d082016fcfaf8c2177ae32eb2 (patch) | |
tree | 94b57359861fdf81d88b39e0add7d15584a9112a /xtables.c | |
parent | ea955480a8ae43aa956ac62e1aab3f9670529819 (diff) |
libxtables: move compat defines to xtables.c
Addendum to commit v1.4.3-rc1-41-g77f48c2 where the macro users
got moved.
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Diffstat (limited to 'xtables.c')
-rw-r--r-- | xtables.c | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -39,6 +39,15 @@ #ifndef NO_SHARED_LIBS #include <dlfcn.h> #endif +#ifndef IPT_SO_GET_REVISION_MATCH /* Old kernel source. */ +# define IPT_SO_GET_REVISION_MATCH (IPT_BASE_CTL + 2) +# define IPT_SO_GET_REVISION_TARGET (IPT_BASE_CTL + 3) +#endif +#ifndef IP6T_SO_GET_REVISION_MATCH /* Old kernel source. */ +# define IP6T_SO_GET_REVISION_MATCH 68 +# define IP6T_SO_GET_REVISION_TARGET 69 +#endif + #define NPROTO 255 |