summaryrefslogtreecommitdiff
path: root/databases/mysql51-client/patches/patch-aw
blob: b7f2626b3ff6066ab3596baa9958f6928047136d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$NetBSD: patch-aw,v 1.2 2010/09/21 15:57:30 taca Exp $

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

--- sql/sql_string.cc.orig	2010-02-04 11:39:53.000000000 +0000
+++ sql/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
 *****************************************************************************/