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

index c385055ddf833ae77ac52f1979cb491bf6d084ec..1c4eccd2516d906cbf4450f76840bc0c21251d58 100644 (file)
@@ -64,7 +64,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)
        {