diff options
Diffstat (limited to 'src/lib/libcrypto/lhash/lhash.h')
-rw-r--r-- | src/lib/libcrypto/lhash/lhash.h | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/src/lib/libcrypto/lhash/lhash.h b/src/lib/libcrypto/lhash/lhash.h index d315fd9c6d..b8ff021906 100644 --- a/src/lib/libcrypto/lhash/lhash.h +++ b/src/lib/libcrypto/lhash/lhash.h | |||
@@ -63,14 +63,18 @@ | |||
63 | #ifndef HEADER_LHASH_H | 63 | #ifndef HEADER_LHASH_H |
64 | #define HEADER_LHASH_H | 64 | #define HEADER_LHASH_H |
65 | 65 | ||
66 | #ifdef __cplusplus | ||
67 | extern "C" { | ||
68 | #endif | ||
69 | |||
70 | #ifndef NO_FP_API | 66 | #ifndef NO_FP_API |
71 | #include <stdio.h> | 67 | #include <stdio.h> |
72 | #endif | 68 | #endif |
73 | 69 | ||
70 | #ifndef NO_BIO | ||
71 | #include <openssl/bio.h> | ||
72 | #endif | ||
73 | |||
74 | #ifdef __cplusplus | ||
75 | extern "C" { | ||
76 | #endif | ||
77 | |||
74 | typedef struct lhash_node_st | 78 | typedef struct lhash_node_st |
75 | { | 79 | { |
76 | void *data; | 80 | void *data; |
@@ -132,7 +136,7 @@ void lh_node_stats(LHASH *lh, FILE *out); | |||
132 | void lh_node_usage_stats(LHASH *lh, FILE *out); | 136 | void lh_node_usage_stats(LHASH *lh, FILE *out); |
133 | #endif | 137 | #endif |
134 | 138 | ||
135 | #ifdef HEADER_BIO_H | 139 | #ifndef NO_BIO |
136 | void lh_stats_bio(LHASH *lh, BIO *out); | 140 | void lh_stats_bio(LHASH *lh, BIO *out); |
137 | void lh_node_stats_bio(LHASH *lh, BIO *out); | 141 | void lh_node_stats_bio(LHASH *lh, BIO *out); |
138 | void lh_node_usage_stats_bio(LHASH *lh, BIO *out); | 142 | void lh_node_usage_stats_bio(LHASH *lh, BIO *out); |