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:52 +0000
commit15481c5e42d7cf47c829bc2cd5a7c3a69781c26a (patch)
treefd4326f6c4d6ddb43f611143566c6cc933bb1acb /crypto/err
parent366b60b9dad44041589fe405ad894e82b409abf9 (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)
{