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

--- libmysqld/sql_string.cc.orig	2007-03-05 20:21:11.000000000 +0100
+++ libmysqld/sql_string.cc
@@ -37,6 +37,10 @@ extern void sql_element_free(void *ptr);
 
 #include "sql_string.h"
 
+#ifdef NEEDS_BSTRING_H
+#include <bstring.h> /* defines bzero() */
+#endif
+
 /*****************************************************************************
 ** String functions
 *****************************************************************************/
