Fix compilation with -no-comp by adding some more #ifndef OPENSSL_NO_COMP

Some #include statements were not properly protected. This will go unnoted
on most systems as openssl/comp.h tends to be installed as a system header
file by default but may become visible when cross compiling.
This commit is contained in:
Lutz Jänicke
2009-01-05 14:43:07 +00:00
parent 92308905dd
commit f4677b7960
4 changed files with 11 additions and 0 deletions

View File

@@ -115,7 +115,10 @@
*/
#include <stdio.h>
#include <openssl/objects.h>
#ifndef OPENSSL_NO_COMP
#include <openssl/comp.h>
#endif
#include "ssl_locl.h"
#define SSL_ENC_DES_IDX 0