From: foobar Date: Fri, 2 Nov 2001 07:08:48 +0000 (+0000) Subject: This was conditionally included if HAVE_MYSQL_REAL_CONNECT was defined. X-Git-Tag: ChangeLog~445 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5a81882c03015e0219fd360804dbfcfeef87518f;p=php This was conditionally included if HAVE_MYSQL_REAL_CONNECT was defined. --- 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):"")