提交 f2168273 编写于 作者: D Dmitry V. Levin 提交者: Pablo Neira Ayuso

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: NDmitry V. Levin <ldv@altlinux.org>
Signed-off-by: NPablo Neira Ayuso <pablo@netfilter.org>
上级 47b1f6fd
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
#define _UAPI_XT_HASHLIMIT_H #define _UAPI_XT_HASHLIMIT_H
#include <linux/types.h> #include <linux/types.h>
#include <linux/limits.h>
#include <linux/if.h> #include <linux/if.h>
/* timings are in milliseconds. */ /* timings are in milliseconds. */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册