It helps nobody to break compatibility for a missing definition
for printing an error.
Just add the missing definition if not present, as it is already
done for thousands of others from the kernel, glibc, etc.
This partially reverts commit
d8b60944f5f752a06ad1553ca77b04b7fea903e9.
gnutls >= 3.1.4 (optional)
openssl >= 1.1.0 (optional, required to support DNS-over-TLS)
p11-kit >= 0.23.3 (optional)
- libfido2 >= 1.5.0 (optional)
+ libfido2 (optional)
tpm2-tss (optional)
elfutils >= 158 (optional)
polkit (optional)
conf.get('HAVE_OPENSSL') == 1,
error_message : 'openssl required')
libfido2 = dependency('libfido2',
- version : '>=1.5.0',
required : feature)
conf.set10('HAVE_LIBFIDO2', libfido2.found())
#include "strv.h"
#include "unistd.h"
+/* Added in version 1.5.0 */
+#ifndef FIDO_ERR_UV_BLOCKED
+#define FIDO_ERR_UV_BLOCKED 0x3c
+#endif
+
static void *libfido2_dl = NULL;
DLSYM_PROTOTYPE(fido_assert_allow_cred) = NULL;