Fixes userspace compilation error: linux/netfilter_bridge/ebtables.h:38:2: error: unknown type name ‘uint64_t’
Showing the changes to include/uapi (1 of 1 file). Show all
Unified · Split
| @@ -12,6 +12,8 @@ · 11 unmodified lines | |||
| 12 | 12 | ||
| 13 | #ifndef _UAPI__LINUX_BRIDGE_EFF_H | 13 | #ifndef _UAPI__LINUX_BRIDGE_EFF_H |
| 14 | #define _UAPI__LINUX_BRIDGE_EFF_H | 14 | #define _UAPI__LINUX_BRIDGE_EFF_H |
| 15 | #include <linux/types.h> | ||
| 16 | #include <linux/if.h> | ||
| 15 | #include <linux/netfilter_bridge.h> | 17 | #include <linux/netfilter_bridge.h> |
| 16 | 18 | ||
| 17 | #define EBT_TABLE_MAXNAMELEN 32 | 19 | #define EBT_TABLE_MAXNAMELEN 32 |
| @@ -33,8 +35,8 @@ struct xt_match; · 15 unmodified lines | |||
| 33 | struct xt_target; | 35 | struct xt_target; |
| 34 | 36 | ||
| 35 | struct ebt_counter { | 37 | struct ebt_counter { |
| 36 | uint64_t pcnt; | 38 | __u64 pcnt; |
| 37 | uint64_t bcnt; | 39 | __u64 bcnt; |
| 38 | }; | 40 | }; |
| 39 | 41 | ||
| 40 | struct ebt_replace { | 42 | struct ebt_replace { |