From: William Lallemand Date: Thu, 14 Oct 2021 14:51:08 +0000 (+0200) Subject: BUILD: jwt: fix declaration of EVP_KEY in jwt-h.h X-Git-Tag: v2.5-dev10~45 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1dbf578ee0fd45ca7d0c5d1a234a876d140206a0;p=thirdparty%2Fhaproxy.git BUILD: jwt: fix declaration of EVP_KEY in jwt-h.h In file included from include/haproxy/jwt.h:25: include/haproxy/jwt-t.h:66:2: error: unknown type name 'EVP_PKEY' EVP_PKEY *pkey; ^ 1 error generated. Fix this compilation issue by inserting openssl-compat.h in jwt-t.h --- diff --git a/include/haproxy/jwt-t.h b/include/haproxy/jwt-t.h index 3e7d57757c..a781b0af0e 100644 --- a/include/haproxy/jwt-t.h +++ b/include/haproxy/jwt-t.h @@ -22,6 +22,7 @@ #ifndef _HAPROXY_JWT_T_H #define _HAPROXY_JWT_T_H +#include #ifdef USE_OPENSSL enum jwt_alg {