$NetBSD: patch-at,v 1.3 2013/01/21 08:58:44 adam Exp $ * Portability: include if exists. --- sql/log_event.cc.orig 2012-12-13 10:05:51.000000000 +0000 +++ sql/log_event.cc @@ -35,6 +35,9 @@ #include "rpl_record.h" #include #include "sql_show.h" // append_identifier +#ifdef NEEDS_BSTRING_H +#include /* defines bcmp() */ +#endif #endif /* MYSQL_CLIENT */