summaryrefslogtreecommitdiffstats
path: root/crypto/err
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2013-01-20 01:07:58 +0000
committerDr. Stephen Henson <steve@openssl.org>2013-01-20 01:10:03 +0000
commit3619e34f50e3f0b49c464aebebffabe774205c7b (patch)
tree22c918641b87fc891a56ecd1b48aac7c9609d06e /crypto/err
parent6924686b783d0c4f1e27df74e0165be0c65f3c8f (diff)
Don't include comp.h if no-comp set.
Diffstat (limited to 'crypto/err')
-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 06e5e59dba..8eb547d98d 100644
--- a/crypto/err/err_all.c
+++ b/crypto/err/err_all.c
@@ -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
@@ -105,7 +107,6 @@
#ifndef OPENSSL_NO_JPAKE
#include <openssl/jpake.h>
#endif
-#include <openssl/comp.h>
void ERR_load_crypto_strings(void)
{