From 5a81882c03015e0219fd360804dbfcfeef87518f Mon Sep 17 00:00:00 2001 From: foobar Date: Fri, 2 Nov 2001 07:08:48 +0000 Subject: [PATCH] This was conditionally included if HAVE_MYSQL_REAL_CONNECT was defined. --- ext/mysql/php_mysql.c | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/ext/mysql/php_mysql.c b/ext/mysql/php_mysql.c index 6ccbbc494f..9d4bc2ab80 100644 --- a/ext/mysql/php_mysql.c +++ b/ext/mysql/php_mysql.c @@ -55,14 +55,16 @@ static int le_result, le_link, le_plink; #include "php_ini.h" -# if HAVE_MYSQL_MYSQL_H -# include -# else -# include -# endif +#if HAVE_MYSQL_MYSQL_H +# include +#else +# include +#endif -#ifdef HAVE_ERRMSG_H -#include +#ifdef HAVE_MYSQL_REAL_CONNECT +# ifdef HAVE_ERRMSG_H +# include +# endif #endif #define SAFE_STRING(s) ((s)?(s):"") -- 2.50.1