diff options
author | Dmitry V. Levin <ldv@altlinux.org> | 2017-02-24 03:23:20 +0300 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2017-02-25 13:32:04 +0100 |
commit | f2168273427c9358a21d1c77c629353c00d46c34 (patch) | |
tree | 9505e1e93d9d291068a8a15da7a226ece595b266 /include | |
parent | 47b1f6fd6ebc8b6b72a5aee39cb0513a38e9c099 (diff) | |
download | linux-stable-f2168273427c9358a21d1c77c629353c00d46c34.tar.gz linux-stable-f2168273427c9358a21d1c77c629353c00d46c34.tar.bz2 linux-stable-f2168273427c9358a21d1c77c629353c00d46c34.zip |
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/uapi/linux/netfilter/xt_hashlimit.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/netfilter/xt_hashlimit.h b/include/uapi/linux/netfilter/xt_hashlimit.h index 3efc0ca18345..79da349f1060 100644 --- a/include/uapi/linux/netfilter/xt_hashlimit.h +++ b/include/uapi/linux/netfilter/xt_hashlimit.h @@ -2,6 +2,7 @@ #define _UAPI_XT_HASHLIMIT_H #include <linux/types.h> +#include <linux/limits.h> #include <linux/if.h> /* timings are in milliseconds. */ |