$NetBSD: patch-ap,v 1.3 2012/04/14 04:04:48 taca Exp $

--- client/mysqlbinlog.cc.orig	2012-03-02 14:04:08.000000000 +0000
+++ client/mysqlbinlog.cc
@@ -37,6 +37,9 @@
 #include "mysql_priv.h" 
 #include "log_event.h"
 #include "sql_common.h"
+#ifdef NEEDS_BSTRING_H
+#include <bstring.h> /* defines bzero() */
+#endif
 #include <welcome_copyright_notice.h> // ORACLE_WELCOME_COPYRIGHT_NOTICE
 
 #define BIN_LOG_HEADER_SIZE	4
