__le* types are not avaialble on FreeBSD, so that is fixed.
And replacing __le* with ceph_le* is possible as long as
the variables are not using in kernel related parts.
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
static std::uint32_t part_entry_overhead;
struct entry_header_pre {
- __le64 magic;
- __le64 pre_size;
- __le64 header_size;
- __le64 data_size;
- __le64 index;
- __le32 reserved;
+ ceph_le64 magic;
+ ceph_le64 pre_size;
+ ceph_le64 header_size;
+ ceph_le64 data_size;
+ ceph_le64 index;
+ ceph_le32 reserved;
} __attribute__ ((packed));
struct entry_header {