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:10:03 +0000 (01:10 +0000)
crypto/err/err_all.c

index 06e5e59dbad95bd6a92133a5b16a3a8db8ec1f1b..8eb547d98d5941b4449ef86b8919cf604dd261f7 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)
        {