Portability patch for HP MPE/iX. Submitted by Mark Bixby <mark_bixby@hp.com>
[oweals/openssl.git] / crypto / dh / dh.h
index 19bd570309eda8a602dde36fcb9bdc32d2586773..a15fc1c65f7ec0fd6f3dd102d6355a9b49fcc711 100644 (file)
@@ -63,6 +63,9 @@
 #error DH is disabled.
 #endif
 
+#ifndef NO_BIO
+#include <openssl/bio.h>
+#endif
 #include <openssl/bn.h>
 #include <openssl/crypto.h>
        
@@ -169,7 +172,7 @@ int i2d_DHparams(DH *a,unsigned char **pp);
 #ifndef NO_FP_API
 int    DHparams_print_fp(FILE *fp, DH *x);
 #endif
-#ifdef HEADER_BIO_H
+#ifndef NO_BIO
 int    DHparams_print(BIO *bp, DH *x);
 #else
 int    DHparams_print(char *bp, DH *x);