Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <mikko.rapeli@iki.fi>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>

authored by

Mikko Rapeli and committed by
Pablo Neira Ayuso
dad15819 3f8c0f7e

+4 -2
+4 -2
include/uapi/linux/netfilter_bridge/ebtables.h
··· 12 12 13 13 #ifndef _UAPI__LINUX_BRIDGE_EFF_H 14 14 #define _UAPI__LINUX_BRIDGE_EFF_H 15 + #include <linux/types.h> 16 + #include <linux/if.h> 15 17 #include <linux/netfilter_bridge.h> 16 18 17 19 #define EBT_TABLE_MAXNAMELEN 32 ··· 35 33 struct xt_target; 36 34 37 35 struct ebt_counter { 38 - uint64_t pcnt; 39 - uint64_t bcnt; 36 + __u64 pcnt; 37 + __u64 bcnt; 40 38 }; 41 39 42 40 struct ebt_replace {