Fixes userspace compilation error: linux/netfilter_bridge/ebtables.h:38:2: error: unknown type name ‘uint64_t’
Unified · Split
| @@ -12,6 +12,8 @@ · 11 unmodified lines | ||
| 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 |
| @@ -33,8 +35,8 @@ struct xt_match; · 15 unmodified lines | ||
| 33 | 35 | struct xt_target; |
| 34 | 36 | |
| 35 | 37 | struct ebt_counter { |
| 36 | − uint64_t pcnt; | |
| 37 | − uint64_t bcnt; | |
| 38 | + __u64 pcnt; | |
| 39 | + __u64 bcnt; | |
| 38 | 40 | }; |
| 39 | 41 | |
| 40 | 42 | struct ebt_replace { |