]> git.sesse.net Git - bcachefs-tools-debian/blobdiff - libbcachefs/subvolume_types.h
Disable pristine-tar option in gbp.conf, since there is no pristine-tar branch.
[bcachefs-tools-debian] / libbcachefs / subvolume_types.h
index 2d2e66a4e4681ee5ba6ba18666d135ab961a2cbf..40f16e3a6dd04f1e14ae493665c07eb86e9b2737 100644 (file)
@@ -2,7 +2,7 @@
 #ifndef _BCACHEFS_SUBVOLUME_TYPES_H
 #define _BCACHEFS_SUBVOLUME_TYPES_H
 
-#include "darray.h"
+#include <linux/darray_types.h>
 
 typedef DARRAY(u32) snapshot_id_list;
 
@@ -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 {