Re: [PATCH] uapi: fix linux/netfilter/xt_hashlimit.h userspace compilation error

From: Pablo Neira Ayuso
Date: Sat Feb 25 2017 - 08:51:08 EST


On Fri, Feb 24, 2017 at 03:23:20AM +0300, Dmitry V. Levin wrote:
> 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];

Applied, thanks.