summaryrefslogtreecommitdiff
path: root/databases/mysql51-client/patches/patch-ae
blob: 8d37ef2b123175da457dc672077e7eb6f1de191c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-ae,v 1.2 2010/09/21 15:57:30 taca Exp $

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

--- client/mysqlbinlog.cc.orig	2010-02-04 11:36:52.000000000 +0000
+++ client/mysqlbinlog.cc
@@ -34,6 +34,9 @@
 #include "mysql_priv.h" 
 #include "log_event.h"
 #include "sql_common.h"
+#ifdef NEEDS_BSTRING_H
+#include <bstring.h> /* defines bzero() */
+#endif
 
 #define BIN_LOG_HEADER_SIZE	4
 #define PROBE_HEADER_LEN	(EVENT_LEN_OFFSET+4)