mirror of
git://git.code.sf.net/p/xtables-addons/xtables-addons
synced 2025-09-05 20:26:38 +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})
|
||||
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
|
||||
|
||||
|
@@ -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 */
|
||||
|
Reference in New Issue
Block a user