summaryrefslogtreecommitdiffstats
path: root/include/uapi
diff options
context:
space:
mode:
authorMikko Rapeli <mikko.rapeli@iki.fi>2015-10-15 07:55:59 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2015-11-23 17:53:58 +0100
commitdad1581944139bb104965340804d1fb4518aab2c (patch)
tree54e2e9f8504ce29831da7cf7eaf869dec1381025 /include/uapi
parent3f8c0f7efb4fcac11f31afa97584d06118c614bb (diff)
downloadlinux-stable-dad1581944139bb104965340804d1fb4518aab2c.tar.gz
linux-stable-dad1581944139bb104965340804d1fb4518aab2c.tar.bz2
linux-stable-dad1581944139bb104965340804d1fb4518aab2c.zip
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>
Diffstat (limited to 'include/uapi')
-rw-r--r--include/uapi/linux/netfilter_bridge/ebtables.h6
1 files changed, 4 insertions, 2 deletions
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 <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 {