summaryrefslogtreecommitdiff
path: root/include/mysql_async.h
diff options
context:
space:
mode:
authorunknown <knielsen@knielsen-hq.org>2012-01-08 10:13:39 +0100
committerunknown <knielsen@knielsen-hq.org>2012-01-08 10:13:39 +0100
commitd5678e1778d684610b50ab8f2b8f11289d075c02 (patch)
tree72e47e84b570efcef9b8fd2f265c3eb0c7e31030 /include/mysql_async.h
parent6ef4f89deb525d08381f426d5f4644475ad953c6 (diff)
downloadmariadb-git-d5678e1778d684610b50ab8f2b8f11289d075c02.tar.gz
Fix non-ssl build.
Diffstat (limited to 'include/mysql_async.h')
-rw-r--r--include/mysql_async.h2
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 */