summaryrefslogtreecommitdiff
path: root/databases/mysql5-client/patches/patch-ao
blob: 00704f2bc4a0cbe946858d150a889bc4cf8a41cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$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
 *****************************************************************************/