Fix building on Debian 10
[hcoop/domtool2.git] / openssl / openssl_sml.h
index 3f33922..f632ffd 100644 (file)
@@ -1,8 +1,9 @@
-#include <openssl/ossl_typ.h>
-
-/* SSL_METHOD is defined in <openssl/ssl.h>, which #includes system
-   headers that ml-nlffigen can't parse. */
-
+/* OpenSSL header files include system headers that ml-nlffigen can't
+   parse, include any needed typedefs or forward declarations here.
+ */
+typedef struct bio_st BIO;
+typedef struct ssl_st SSL;
+typedef struct ssl_ctx_st SSL_CTX;
 typedef struct ssl_method_st SSL_METHOD;
 
 void OpenSSL_SML_init(void);
 typedef struct ssl_method_st SSL_METHOD;
 
 void OpenSSL_SML_init(void);