From 4b78009cb35e0d61f858381c70112f783f437a3e Mon Sep 17 00:00:00 2001 From: Aharon Robbins Date: Sun, 21 May 2017 15:19:16 +0300 Subject: [PATCH] Fix build for MySQL 5.5 and 5.1. --- src/audit_handler.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/audit_handler.cc b/src/audit_handler.cc index 60f85fa..de63dd7 100644 --- a/src/audit_handler.cc +++ b/src/audit_handler.cc @@ -29,7 +29,7 @@ #if MYSQL_VERSION_ID < 50600 // for 5.5 and 5.1 -void vio_timeout(Vio *vio,uint which, uint timeout); +extern "C" void vio_timeout(Vio *vio,uint which, uint timeout); #endif // utility macro to log also with a date as a prefix