$NetBSD: patch-at,v 1.3 2013/01/21 08:58:44 adam Exp $

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

--- sql/log_event.cc.orig	2012-12-13 10:05:51.000000000 +0000
+++ sql/log_event.cc
@@ -35,6 +35,9 @@
 #include "rpl_record.h"
 #include <my_dir.h>
 #include "sql_show.h"    // append_identifier
+#ifdef NEEDS_BSTRING_H
+#include <bstring.h> /* defines bcmp() */
+#endif
 
 #endif /* MYSQL_CLIENT */
 
