netfilter: ebtables: use __u64 from linux/types.h
authorMikko Rapeli <mikko.rapeli@iki.fi>
Thu, 15 Oct 2015 05:55:59 +0000 (07:55 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 23 Nov 2015 16:53:58 +0000 (17:53 +0100)
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>
include/uapi/linux/netfilter_bridge/ebtables.h

index fd2ee501726d6949d8680a70f95a686602b3b6b2..e3cdf9f1a259c3e517bfddeb6dc04ac5d49bf3d7 100644 (file)
@@ -12,6 +12,8 @@
 
 #ifndef _UAPI__LINUX_BRIDGE_EFF_H
 #define _UAPI__LINUX_BRIDGE_EFF_H
+#include <linux/types.h>
+#include <linux/if.h>
 #include <linux/netfilter_bridge.h>
 
 #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 {