From: Willy Tarreau Date: Wed, 8 Nov 2017 13:33:36 +0000 (+0100) Subject: BUILD: shctx: do not depend on openssl anymore X-Git-Tag: v1.8-rc3~15 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ddfbd83780de0f140fc7195d1a16953ec18ef37a;p=thirdparty%2Fhaproxy.git BUILD: shctx: do not depend on openssl anymore The build breaks on a machine without openssl/crypto.h because shctx still loads openssl-compat.h while it doesn't need it anymore since the code was moved : In file included from src/shctx.c:20:0: include/proto/openssl-compat.h:3:28: fatal error: openssl/crypto.h: No such file or directory #include Just remove include openssl-compat from shctx. --- diff --git a/src/shctx.c b/src/shctx.c index 61fd12d3d6..59ac8b8316 100644 --- a/src/shctx.c +++ b/src/shctx.c @@ -17,7 +17,6 @@ #include #include #include "proto/shctx.h" -#include #if !defined (USE_PRIVATE_CACHE)