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 4843a8a..33a8f96 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)
        {