--- socat-1.7.3.0.orig/sslcls.h	2015-01-24 11:15:22.000000000 +0100
+++ socat-1.7.3.0/sslcls.h	2015-12-29 23:11:35.000000000 +0100
@@ -55,7 +55,7 @@ BIO *sycBIO_new_file(const char *filenam
 
 int sycFIPS_mode_set(int onoff);
 
-#if OPENSSL_VERSION_NUMBER >= 0x00908000L
+#if !defined(OPENSSL_NO_COMP)
 const COMP_METHOD *sycSSL_get_current_compression(SSL *ssl);
 const COMP_METHOD *sycSSL_get_current_expansion(SSL *ssl);
 const char *sycSSL_COMP_get_name(const COMP_METHOD *comp);
