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

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

--- sql/log_event.cc.orig	2010-02-04 11:39:50.000000000 +0000
+++ sql/log_event.cc
@@ -32,6 +32,9 @@
 #include "rpl_utility.h"
 #include "rpl_record.h"
 #include <my_dir.h>
+#ifdef NEEDS_BSTRING_H
+#include <bstring.h> /* defines bcmp() */
+#endif
 
 #endif /* MYSQL_CLIENT */