pkgsrc/databases/mysql55-client/patches/patch-sql_log_event.h

17 lines
458 B
C

$NetBSD: patch-sql_log_event.h,v 1.2 2013/02/12 20:36:29 adam Exp $
Portability: include <bstring.h> if exists.
--- sql/log_event.h.orig 2010-02-04 11:39:50.000000000 +0000
+++ sql/log_event.h
@@ -28,6 +28,10 @@
#ifndef _log_event_h
#define _log_event_h
+#ifdef NEEDS_BSTRING_H
+#include <bstring.h> /* defines bzero() */
+#endif
+
#if defined(USE_PRAGMA_INTERFACE) && defined(MYSQL_SERVER)
#pragma interface /* gcc class implementation */
#endif