pkgsrc/databases/mysql51-client/patches/patch-af

17 lines
542 B
Text

$NetBSD: patch-af,v 1.3 2013/01/21 08:58:44 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
@@ -39,6 +39,10 @@ extern void sql_element_free(void *ptr);
#include "sql_string.h"
+#ifdef NEEDS_BSTRING_H
+#include <bstring.h> /* defines bzero() */
+#endif
+
/*****************************************************************************
** String functions
*****************************************************************************/