Fixup fromcvs/togit conversion
[pkgsrcv2.git] / databases / mysql55-client / patches / patch-client_mysqlbinlog.cc
1 $NetBSD: patch-client_mysqlbinlog.cc,v 1.1.1.1 2011/04/25 21:12:53 adam Exp $
2
3 * Portability: include <bstring.h> if exists.
4
5 --- client/mysqlbinlog.cc.orig  2012-08-29 08:50:46.000000000 +0000
6 +++ client/mysqlbinlog.cc
7 @@ -38,6 +38,9 @@
8  #include "sql_common.h"
9  #include "my_dir.h"
10  #include <welcome_copyright_notice.h> // ORACLE_WELCOME_COPYRIGHT_NOTICE
11 +#ifdef NEEDS_BSTRING_H
12 +#include <bstring.h> /* defines bzero() */
13 +#endif
14  
15  #define BIN_LOG_HEADER_SIZE    4
16  #define PROBE_HEADER_LEN       (EVENT_LEN_OFFSET+4)