summaryrefslogtreecommitdiff
path: root/databases/mysql57-client/patches/patch-client_completion_hash.cc
blob: 56aa9e0861fc4bafe581a85a59d0e067c709ec2a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$NetBSD: patch-client_completion_hash.cc,v 1.1 2016/09/16 06:49:11 adam Exp $

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

--- client/completion_hash.cc.orig	2010-02-04 11:36:51.000000000 +0000
+++ client/completion_hash.cc
@@ -22,6 +22,10 @@
 
 #include <my_global.h>
 #include <m_string.h>
+#ifdef NEEDS_BSTRING_H                         // defines bzero()
+#include <bstring.h>
+#endif
+
 #include <my_sys.h>
 #include "completion_hash.h"