From: Hauke Mehrtens Date: Sun, 12 Nov 2017 21:20:22 +0000 (+0100) Subject: xtables-addons: fix compile with kernel 4.14 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=436fe56485f0027618602495df96796f66e51744;p=openwrt%2Fstaging%2Faparcar.git xtables-addons: fix compile with kernel 4.14 This fixes a compile problems seen with kernel 4.14. Signed-off-by: Hauke Mehrtens --- diff --git a/package/network/utils/xtables-addons/patches/201-fix-lua-packetscript.patch b/package/network/utils/xtables-addons/patches/201-fix-lua-packetscript.patch index 7599684bdb..a9fb796d09 100644 --- a/package/network/utils/xtables-addons/patches/201-fix-lua-packetscript.patch +++ b/package/network/utils/xtables-addons/patches/201-fix-lua-packetscript.patch @@ -1,5 +1,14 @@ --- a/extensions/LUA/xt_LUA_target.c +++ b/extensions/LUA/xt_LUA_target.c +@@ -19,7 +19,7 @@ + #include + #include + #include +-#include ++#include + #include + #include + #include "xt_LUA.h" @@ -64,10 +64,10 @@ uint32_t lua_state_refs[LUA_STATE_ARRAY * XT_CONTINUE inside the *register_lua_packet_lib* function. */