]> jfr.im git - irc/znc/Csocket.git/commitdiff
Fix build with LibreSSL
authorBernard Spil <redacted>
Sat, 7 Mar 2015 13:55:51 +0000 (14:55 +0100)
committerAlexey Sokolov <redacted>
Sun, 7 Feb 2016 23:07:13 +0000 (23:07 +0000)
LibreSSL does not include openssl/comp.h from openssl/ssl.h making build of Csocket fail. this patch fixes this error.
(cherry picked from commit 5494c125599fbe02e6d7839d1a8ebeffe3e77907)

Csocket.cc

index 15326644b7c091ef3a17b7379dd4b3e2e7212a47..63cef83110d7429029a129d629ee7ac64d83ab24 100644 (file)
@@ -47,6 +47,7 @@
 #include <stdio.h>
 #include <openssl/conf.h>
 #include <openssl/engine.h>
+#include <openssl/comp.h>
 #endif /* HAVE_LIBSSL */
 
 #ifdef HAVE_ICU