xtables-addons: Avoid redefinition of SHRT_MAX in lua packet script
author luka
()
committer luka
()
commit 8d567cfcf761669899fb55737444873a1fa676f6
tree df100cce2a855da79f193ce564c013024d0f7c01
parent cf1c519b0489ee594d6072e22e1bdbdff0a10f1e
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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49338 3c298f89-4303-0410-b956-a3cf2f4a3e73
package/network/utils/xtables-addons/patches/201-fix-lua-packetscript.patch
comments