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>
This commit is contained in:
Mikko Rapeli 2015-10-15 07:55:59 +02:00 committed by Pablo Neira Ayuso
parent 3f8c0f7efb
commit dad1581944

View file

@ -12,6 +12,8 @@
#ifndef _UAPI__LINUX_BRIDGE_EFF_H #ifndef _UAPI__LINUX_BRIDGE_EFF_H
#define _UAPI__LINUX_BRIDGE_EFF_H #define _UAPI__LINUX_BRIDGE_EFF_H
#include <linux/types.h>
#include <linux/if.h>
#include <linux/netfilter_bridge.h> #include <linux/netfilter_bridge.h>
#define EBT_TABLE_MAXNAMELEN 32 #define EBT_TABLE_MAXNAMELEN 32
@ -33,8 +35,8 @@ struct xt_match;
struct xt_target; struct xt_target;
struct ebt_counter { struct ebt_counter {
uint64_t pcnt; __u64 pcnt;
uint64_t bcnt; __u64 bcnt;
}; };
struct ebt_replace { struct ebt_replace {