Fix to install with MariDB on Windows

This commit is contained in:
Youhei Kondou 2010-11-13 17:47:58 +09:00
parent d48846f13b
commit 550c68cade

View File

@ -4,6 +4,12 @@
#include <ruby.h> #include <ruby.h>
#include <fcntl.h> #include <fcntl.h>
#ifndef HAVE_UINT
#define HAVE_UINT
typedef unsigned short ushort;
typedef unsigned int uint;
#endif
#ifdef HAVE_MYSQL_H #ifdef HAVE_MYSQL_H
#include <mysql.h> #include <mysql.h>
#include <mysql_com.h> #include <mysql_com.h>