From 18cfac40a58a24bc3bcbb927f8e0fca40d88c0de Mon Sep 17 00:00:00 2001 From: foobar Date: Sun, 10 Dec 2000 00:37:43 +0000 Subject: [PATCH] Kills one compile warning. --- ext/gd/php_gd.h | 5 +++++ 1 file changed, 5 insertions(+) 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) -- 2.50.1