Don't include comp.h if no-comp set.
authorDr. Stephen Henson <steve@openssl.org>
Sun, 20 Jan 2013 02:34:25 +0000 (02:34 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Sun, 20 Jan 2013 02:34:25 +0000 (02:34 +0000)
crypto/err/err_all.c

index 4843a8a0bb8b80d7e5c8cbc3b1dd0e20e8c9a1bc..33a8f96652a18647ee28db86586082b9711ae703 100644 (file)
@@ -66,7 +66,9 @@
 #endif
 #include <openssl/buffer.h>
 #include <openssl/bio.h>
+#ifndef OPENSSL_NO_COMP
 #include <openssl/comp.h>
+#endif
 #ifndef OPENSSL_NO_RSA
 #include <openssl/rsa.h>
 #endif
 #ifndef OPENSSL_NO_JPAKE
 #include <openssl/jpake.h>
 #endif
-#include <openssl/comp.h>
 
 void ERR_load_crypto_strings(void)
        {