summaryrefslogtreecommitdiff
path: root/databases/mysql57-client/patches/patch-sql_log_event.h
diff options
context:
space:
mode:
Diffstat (limited to 'databases/mysql57-client/patches/patch-sql_log_event.h')
-rw-r--r--databases/mysql57-client/patches/patch-sql_log_event.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/databases/mysql57-client/patches/patch-sql_log_event.h b/databases/mysql57-client/patches/patch-sql_log_event.h
new file mode 100644
index 00000000000..9d4f6a94a9d
--- /dev/null
+++ b/databases/mysql57-client/patches/patch-sql_log_event.h
@@ -0,0 +1,17 @@
+$NetBSD: patch-sql_log_event.h,v 1.1 2016/09/16 06:49:11 adam Exp $
+
+* Portability: include <bstring.h> if exists.
+
+--- sql/log_event.h.orig 2016-03-28 18:06:12.000000000 +0000
++++ sql/log_event.h
+@@ -28,6 +28,10 @@
+ #ifndef _log_event_h
+ #define _log_event_h
+
++#ifdef NEEDS_BSTRING_H
++#include <bstring.h> /* defines bzero() */
++#endif
++
+ #include "my_global.h"
+ #include "my_bitmap.h" // MY_BITMAP
+ #include "binary_log.h" // binary_log