Don't include comp.h in cmd_cd.c if OPENSSL_NO_COMP set
authorDr. Stephen Henson <steve@openssl.org>
Wed, 23 Jan 2013 01:04:36 +0000 (01:04 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Wed, 23 Jan 2013 01:09:38 +0000 (01:09 +0000)
crypto/cms/cms_cd.c

index a5fc2c4..2021688 100644 (file)
@@ -58,7 +58,9 @@
 #include <openssl/err.h>
 #include <openssl/cms.h>
 #include <openssl/bio.h>
+#ifndef OPENSSL_NO_COMP
 #include <openssl/comp.h>
+#endif
 #include "cms_lcl.h"
 
 DECLARE_ASN1_ITEM(CMS_CompressedData)