uapi: fix linux/netfilter/xt_hashlimit.h userspace compilation error
authorDmitry V. Levin <ldv@altlinux.org>
Fri, 24 Feb 2017 00:23:20 +0000 (03:23 +0300)
committerPablo Neira Ayuso <pablo@netfilter.org>
Sat, 25 Feb 2017 12:32:04 +0000 (13:32 +0100)
commitf2168273427c9358a21d1c77c629353c00d46c34
tree9505e1e93d9d291068a8a15da7a226ece595b266
parent47b1f6fd6ebc8b6b72a5aee39cb0513a38e9c099
uapi: fix linux/netfilter/xt_hashlimit.h userspace compilation error

Include <linux/limits.h> like some of uapi/linux/netfilter/xt_*.h
headers do to fix the following linux/netfilter/xt_hashlimit.h
userspace compilation error:

/usr/include/linux/netfilter/xt_hashlimit.h:90:12: error: 'NAME_MAX' undeclared here (not in a function)
  char name[NAME_MAX];

Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/uapi/linux/netfilter/xt_hashlimit.h