make ocaml-mysql work with a vanilla install of mysql

git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12848 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
master
Damien Doligez 2012-08-09 19:57:27 +00:00
parent f605646709
commit 065ed361ee
1 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1,15 @@
--- ocaml-mysql-1.0.4.orig/mysql_stubs.c 2006-02-24 00:12:36.000000000 +0100
+++ ocaml-mysql-1.0.4/mysql_stubs.c 2012-08-09 20:51:24.000000000 +0200
@@ -19,9 +19,9 @@
/* MySQL API */
-#include <mysql/mysql.h>
-#include <mysql/mysqld_error.h>
-#include <mysql/errmsg.h>
+#include <mysql.h>
+#include <mysqld_error.h>
+#include <errmsg.h>
/* type 'a option = None | Some of 'a */
#define NONE Val_int(0)