mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-14 13:42:23 +00:00
trivial: Fix building against old versions of GLib
Fixes https://github.com/hughsie/fwupd/issues/1023
This commit is contained in:
parent
5e5267d12c
commit
0b1cbb92c7
@ -16,6 +16,10 @@
|
|||||||
#include <sys/utsname.h>
|
#include <sys/utsname.h>
|
||||||
#include <json-glib/json-glib.h>
|
#include <json-glib/json-glib.h>
|
||||||
|
|
||||||
|
#if !GLIB_CHECK_VERSION(2,54,0)
|
||||||
|
#include <errno.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* fwupd_checksum_guess_kind:
|
* fwupd_checksum_guess_kind:
|
||||||
* @checksum: A checksum
|
* @checksum: A checksum
|
||||||
|
Loading…
Reference in New Issue
Block a user