X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libbcachefs%2Fsubvolume_types.h;fp=libbcachefs%2Fsubvolume_types.h;h=ae644adfc391680d85b6fe53c25f08ae9337e037;hb=596ec1050d0ce55f5e2d38aa8cdcb46d92178140;hp=2d2e66a4e4681ee5ba6ba18666d135ab961a2cbf;hpb=93241a1c9a7dbef987f524a9dea3fc61e87e845b;p=bcachefs-tools-debian diff --git a/libbcachefs/subvolume_types.h b/libbcachefs/subvolume_types.h index 2d2e66a..ae644ad 100644 --- a/libbcachefs/subvolume_types.h +++ b/libbcachefs/subvolume_types.h @@ -20,7 +20,11 @@ struct snapshot_t { }; struct snapshot_table { +#ifndef RUST_BINDGEN DECLARE_FLEX_ARRAY(struct snapshot_t, s); +#else + struct snapshot_t s[0]; +#endif }; typedef struct {