summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2013-01-20 02:34:25 +0000
committerDr. Stephen Henson <steve@openssl.org>2013-01-20 02:34:25 +0000
commitf20c673d0d3b46e57895ac7c5ade2c0f10118953 (patch)
tree8ffbe7ef36e25e89e851f8fcf9b88dfd6c428841
parenta006fef78e56b078549a80f4bb4518b6a02eba84 (diff)
Don't include comp.h if no-comp set.
-rw-r--r--crypto/err/err_all.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/err/err_all.c b/crypto/err/err_all.c
index 4843a8a0bb..33a8f96652 100644
--- a/crypto/err/err_all.c
+++ b/crypto/err/err_all.c
@@ -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
@@ -107,7 +109,6 @@
#ifndef OPENSSL_NO_JPAKE
#include <openssl/jpake.h>
#endif
-#include <openssl/comp.h>
void ERR_load_crypto_strings(void)
{