diff options
-rw-r--r-- | include/mysql_async.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/mysql_async.h b/include/mysql_async.h index a8a79b541e9..2c84d5bc1b6 100644 --- a/include/mysql_async.h +++ b/include/mysql_async.h @@ -28,9 +28,11 @@ extern ssize_t my_send_async(struct mysql_async_context *b, int fd, uint timeout); extern my_bool my_poll_read_async(struct mysql_async_context *b, uint timeout); +#ifdef HAVE_OPENSSL extern int my_ssl_read_async(struct mysql_async_context *b, SSL *ssl, void *buf, int size); extern int my_ssl_write_async(struct mysql_async_context *b, SSL *ssl, const void *buf, int size); +#endif #endif /* MYSQL_ASYNC_H */ |