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
1 changed files with 6 additions and 0 deletions

View File

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