Do not wrap all declarations, keep out external headers --- src/cd-usb-bulk-msd.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cd-usb-bulk-msd.h b/src/cd-usb-bulk-msd.h index 85661165..c165c187 100644 --- a/src/cd-usb-bulk-msd.h +++ b/src/cd-usb-bulk-msd.h @@ -21,12 +21,12 @@ #pragma once -G_BEGIN_DECLS - #include <gio/gio.h> #include "cd-scsi-dev-params.h" +G_BEGIN_DECLS + typedef enum CdUsbBulkStatus { BULK_STATUS_GOOD = 0, BULK_STATUS_ERROR, -- 2.20.1 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel