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-Tag: v4.11-rc1~55^2~1^2~3 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=f2168273427c9358a21d1c77c629353c00d46c34;p=karo-tx-linux.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. */