From: foobar Date: Sun, 10 Dec 2000 00:37:43 +0000 (+0000) Subject: Kills one compile warning. X-Git-Tag: php-4.0.5RC1~951 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=18cfac40a58a24bc3bcbb927f8e0fca40d88c0de;p=php Kills one compile warning. --- diff --git a/ext/gd/php_gd.h b/ext/gd/php_gd.h index 53c2117712..27999968fd 100644 --- a/ext/gd/php_gd.h +++ b/ext/gd/php_gd.h @@ -139,6 +139,11 @@ static int _php_image_type ( char data[8] ); PHPAPI int phpi_get_le_gd(void); +/* This is missing from gd.h */ +#if HAVE_COLORCLOSESTHWB +int gdImageColorClosestHWB(gdImagePtr im, int r, int g, int b); +#endif + #ifdef ZTS #define GDLS_D php_gd_globals *gd_globals #define GDG(v) (gd_globals->v)