From: Dmitry V. Levin Date: Fri, 24 Feb 2017 00:23:20 +0000 (+0300) Subject: uapi: fix linux/netfilter/xt_hashlimit.h userspace compilation error X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=f2168273427c9358a21d1c77c629353c00d46c34;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git uapi: fix linux/netfilter/xt_hashlimit.h userspace compilation error Include 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 Signed-off-by: Pablo Neira Ayuso --- 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 +#include #include /* timings are in milliseconds. */