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:16:59 +0000 (01:16 +0000)
crypto/cms/cms_cd.c

index a5fc2c4e2b425169949eb9aa5ae3379f26d21449..202168810126e452dac0aa54f6f9684b661dc994 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)