From 1a5c7f6fe576df2c46779a58d8cbdf75bcc62cd1 Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Tue, 15 Aug 2017 21:56:00 +0100 Subject: [PATCH] plugins/amt: Fix compilation on Jessie machine; UUID_LE is not const Unfortunately it seems that the definition of UUID_LE is not const (or not evaluatable as const by the compiler) on a Debian Jessie machine, which causes compilation to fail with: ../../checkout/fwupd/plugins/amt/fu-plugin-amt.c:238:1: error: initializer element is not constant const uuid_le MEI_IAMTHIF = UUID_LE(0x12f80028, 0xb4b7, 0x4b2d, \ ^ Fix that by dropping the const. Sadness. Signed-off-by: Philip Withnall --- plugins/amt/fu-plugin-amt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/amt/fu-plugin-amt.c b/plugins/amt/fu-plugin-amt.c index 15362c742..cdcc4ea30 100644 --- a/plugins/amt/fu-plugin-amt.c +++ b/plugins/amt/fu-plugin-amt.c @@ -235,7 +235,7 @@ struct amt_host_if_resp_header { guchar data[0]; } __attribute__((packed)); -const uuid_le MEI_IAMTHIF = UUID_LE(0x12f80028, 0xb4b7, 0x4b2d, \ +uuid_le MEI_IAMTHIF = UUID_LE(0x12f80028, 0xb4b7, 0x4b2d, \ 0xac, 0xa8, 0x46, 0xe0, 0xff, 0x65, 0x81, 0x4c); #define AMT_HOST_IF_CODE_VERSIONS_REQUEST 0x0400001A