From: Mikko Rapeli Date: Thu, 15 Oct 2015 05:55:59 +0000 (+0200) Subject: netfilter: ebtables: use __u64 from linux/types.h X-Git-Tag: MMI-PSA29.97-13-9~8298^2~453^2~23 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=dad1581944139bb104965340804d1fb4518aab2c;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git netfilter: ebtables: use __u64 from linux/types.h Fixes userspace compilation error: linux/netfilter_bridge/ebtables.h:38:2: error: unknown type name ‘uint64_t’ Signed-off-by: Mikko Rapeli Signed-off-by: Pablo Neira Ayuso --- diff --git a/include/uapi/linux/netfilter_bridge/ebtables.h b/include/uapi/linux/netfilter_bridge/ebtables.h index fd2ee501726d..e3cdf9f1a259 100644 --- a/include/uapi/linux/netfilter_bridge/ebtables.h +++ b/include/uapi/linux/netfilter_bridge/ebtables.h @@ -12,6 +12,8 @@ #ifndef _UAPI__LINUX_BRIDGE_EFF_H #define _UAPI__LINUX_BRIDGE_EFF_H +#include +#include #include #define EBT_TABLE_MAXNAMELEN 32 @@ -33,8 +35,8 @@ struct xt_match; struct xt_target; struct ebt_counter { - uint64_t pcnt; - uint64_t bcnt; + __u64 pcnt; + __u64 bcnt; }; struct ebt_replace {