summaryrefslogtreecommitdiff
path: root/databases/mysql56-client/patches/patch-sql_log_event.h
blob: 1cf15079d5cfe0c26e5243ab56897d542e0072c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$NetBSD: patch-sql_log_event.h,v 1.2 2013/04/20 08:06:01 adam Exp $

* Portability: include <bstring.h> if exists.

--- sql/log_event.h.orig	2013-04-05 12:27:18.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_bitmap.h>
 #include "rpl_constants.h"
 #include "table_id.h"