$NetBSD: patch-ab,v 1.3 2007/01/30 15:54:29 joerg Exp $

--- mysql.c.in.orig	2006-12-20 05:31:52.000000000 +0000
+++ mysql.c.in
@@ -5,10 +5,12 @@
 #include "ruby.h"
 #include "version.h"
 #ifdef HAVE_MYSQL_H
+#include <my_global.h>
 #include <mysql.h>
 #include <errmsg.h>
 #include <mysqld_error.h>
 #else
+#include <mysql/my_global.h>
 #include <mysql/mysql.h>
 #include <mysql/errmsg.h>
 #include <mysql/mysqld_error.h>
