xtables-addons: Avoid redefinition of SHRT_MAX in lua packet script
authorLuka Perkov <luka@openwrt.org>
Tue, 10 May 2016 22:36:45 +0000 (22:36 +0000)
committerLuka Perkov <luka@openwrt.org>
Tue, 10 May 2016 22:36:45 +0000 (22:36 +0000)
commitb5b61dd59908c42833b9e6cd4360ad7a15659bec
treedf100cce2a855da79f193ce564c013024d0f7c01
parent4c46722d98e1fe5f2bd07c9d3b09cf907a739f15
xtables-addons: Avoid redefinition of SHRT_MAX in lua packet script

Patch Lua packet script defines SHRT_MAX which is already defined in <linux/kernel.h> and
is included indirectly by lauxlib.h. Fix the redefintion as it leads to compile failure
on systems which treat macro redefinition as an error

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
SVN-Revision: 49338
package/network/utils/xtables-addons/patches/201-fix-lua-packetscript.patch