Include fido.h when checking for fido/credman.h.

It's required for fido_dev_t, otherwise configure fails with
when given --with-security-key-builtin.
This commit is contained in:
Darren Tucker 2020-03-14 20:58:46 +11:00
parent c7c099060f
commit 0eaca933ae

View File

@ -3117,7 +3117,9 @@ if test "x$enable_sk" = "xyes" -a "x$enable_sk_internal" = "xyes" ; then
AC_CHECK_HEADER([fido.h], [],
AC_MSG_ERROR([missing fido.h from libfido2]))
AC_CHECK_HEADER([fido/credman.h], [],
AC_MSG_ERROR([missing fido/credman.h from libfido2]))
AC_MSG_ERROR([missing fido/credman.h from libfido2]),
[#include <fido.h>]
)
fi
AC_CHECK_FUNCS([ \