Move defines in compat_xtables.h down to avoid redeclaration errors

Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de>
This commit is contained in:
Jan Engelhardt
2008-02-29 16:41:29 +01:00
parent 7c09f5db2f
commit c338e8f827
2 changed files with 3 additions and 3 deletions

View File

@@ -5,10 +5,10 @@ srcdir := @srcdir@
abstop_srcdir := $(shell readlink -e ${top_srcdir})
abssrcdir := $(shell readlink -e ${srcdir})
if (${abstop_srcdir},)
ifeq (${abstop_srcdir},)
$(error Path resolution of ${top_srcdir} failed)
endif
if (${abssrcdir},)
ifeq (${abssrcdir},)
$(error Path resolution of ${srcdir} failed)
endif

View File

@@ -2,6 +2,7 @@
#define _XTABLES_COMPAT_H 1
#include <linux/version.h>
#include "compat_xtnu.h"
#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 22)
# warning Kernels below 2.6.22 not supported anymore
@@ -43,6 +44,5 @@
#endif
#define xt_request_find_match xtnu_request_find_match
#include "compat_xtnu.h"
#endif /* _XTABLES_COMPAT_H */