summaryrefslogtreecommitdiff
path: root/databases/mysql55-client/patches/patch-client_sql_string.cc
blob: a0d257dd7a1aee96ab8a9960ee09236cb7129264 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$NetBSD: patch-client_sql_string.cc,v 1.1.1.1 2011/04/25 21:12:53 adam Exp $

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

--- client/sql_string.cc.orig	2010-02-04 11:36:53.000000000 +0000
+++ client/sql_string.cc
@@ -27,6 +27,10 @@ extern void sql_element_free(void *ptr);
 
 #include "sql_string.h"
 
+#ifdef NEEDS_BSTRING_H
+#include <bstring.h> /* defines bzero() */
+#endif
+
 /*****************************************************************************
 ** String functions
 *****************************************************************************/