$NetBSD: patch-ap,v 1.2 2007/03/11 18:42:28 adam Exp $

--- client/mysqlbinlog.cc.orig	2007-03-05 20:21:42.000000000 +0100
+++ client/mysqlbinlog.cc
@@ -36,6 +36,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)
