diff options
-rw-r--r-- | ext/gd/php_gd.h | 5 |
1 files changed, 5 insertions, 0 deletions
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) |