1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00

Fix the log_mysql_p.h patch to a better way

This commit is contained in:
Renato Botelho 2006-09-12 10:34:09 +00:00
parent 39e5354299
commit ee3760fa99
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=172841

View File

@ -1,11 +1,10 @@
--- src/log_mysql_p.h.orig Mon Sep 11 11:57:13 2006
+++ src/log_mysql_p.h Mon Sep 11 11:57:23 2006
@@ -3,6 +3,8 @@
--- src/log_mysql_p.h.orig Sun Feb 29 18:49:28 2004
+++ src/log_mysql_p.h Tue Sep 12 07:10:35 2006
@@ -2,6 +2,7 @@
#define __LOG_MYSQL_P_H__ 1
#include <mysql.h>
+#include <my_globals.h>
+typedef unsigned long ulong;
+
#ifdef MYSQL_VERSION_ID
# if MYSQL_VERSION_ID < 32224
# define mysql_field_count(X) mysql_num_fields(X)