blob: 6cbee0676daeb053828d20e2fa94323327c1a08c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
$NetBSD: patch-ae,v 1.3 2011/12/02 14:25:10 adam Exp $
* Portability: include <bstring.h> if exists.
--- client/mysqlbinlog.cc.orig 2011-10-29 18:09:49.000000000 +0000
+++ client/mysqlbinlog.cc
@@ -37,6 +37,9 @@
#include "log_event.h"
#include "sql_common.h"
#include <welcome_copyright_notice.h> // ORACLE_WELCOME_COPYRIGHT_NOTICE
+#ifdef NEEDS_BSTRING_H
+#include <bstring.h> /* defines bzero() */
+#endif
#define BIN_LOG_HEADER_SIZE 4
#define PROBE_HEADER_LEN (EVENT_LEN_OFFSET+4)
|