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)
commitfe9737eee6291258015743221cb358cec9e97c24
tree328f08bbab144c456caa97eb53ed4ce7b625d882
parentdf0b0ccd337229c8235f30428a374d41346fb894
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