mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-11 14:52:18 +00:00
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 <philip@tecnocode.co.uk>
This commit is contained in:
parent
7ca5a04105
commit
1a5c7f6fe5
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user