From d5678e1778d684610b50ab8f2b8f11289d075c02 Mon Sep 17 00:00:00 2001 From: unknown Date: Sun, 8 Jan 2012 10:13:39 +0100 Subject: Fix non-ssl build. --- include/mysql_async.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/mysql_async.h') 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 */ -- cgit v1.2.1