chiark / gitweb /
volume_id: replace __packed__ by PACKED macro
[elogind.git] / extras / volume_id / libvolume_id / volume_id.h
index ad65fe5438cbec088192814a5b2abb04b13ca395..0f265a584da2668ba3283485f63701a26d0e9329 100644 (file)
 #include <stdint.h>
 #include <stddef.h>
 
-#define VOLUME_ID_VERSION              55
+#define VOLUME_ID_VERSION              56
+
+#ifndef PACKED
+#define PACKED                         __attribute__((packed))
+#endif
 
 #define VOLUME_ID_LABEL_SIZE           64
 #define VOLUME_ID_UUID_SIZE            36