mirror of
git://git.code.sf.net/p/xtables-addons/xtables-addons
synced 2025-09-07 05:05:12 +02:00
Move defines in compat_xtables.h down to avoid redeclaration errors
Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de>
This commit is contained in:
@@ -5,10 +5,10 @@ srcdir := @srcdir@
|
|||||||
abstop_srcdir := $(shell readlink -e ${top_srcdir})
|
abstop_srcdir := $(shell readlink -e ${top_srcdir})
|
||||||
abssrcdir := $(shell readlink -e ${srcdir})
|
abssrcdir := $(shell readlink -e ${srcdir})
|
||||||
|
|
||||||
if (${abstop_srcdir},)
|
ifeq (${abstop_srcdir},)
|
||||||
$(error Path resolution of ${top_srcdir} failed)
|
$(error Path resolution of ${top_srcdir} failed)
|
||||||
endif
|
endif
|
||||||
if (${abssrcdir},)
|
ifeq (${abssrcdir},)
|
||||||
$(error Path resolution of ${srcdir} failed)
|
$(error Path resolution of ${srcdir} failed)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
@@ -2,6 +2,7 @@
|
|||||||
#define _XTABLES_COMPAT_H 1
|
#define _XTABLES_COMPAT_H 1
|
||||||
|
|
||||||
#include <linux/version.h>
|
#include <linux/version.h>
|
||||||
|
#include "compat_xtnu.h"
|
||||||
|
|
||||||
#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 22)
|
#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 22)
|
||||||
# warning Kernels below 2.6.22 not supported anymore
|
# warning Kernels below 2.6.22 not supported anymore
|
||||||
@@ -43,6 +44,5 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define xt_request_find_match xtnu_request_find_match
|
#define xt_request_find_match xtnu_request_find_match
|
||||||
#include "compat_xtnu.h"
|
|
||||||
|
|
||||||
#endif /* _XTABLES_COMPAT_H */
|
#endif /* _XTABLES_COMPAT_H */
|
||||||
|
Reference in New Issue
Block a user