summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2000-12-10 00:37:43 +0000
committerfoobar <sniper@php.net>2000-12-10 00:37:43 +0000
commit18cfac40a58a24bc3bcbb927f8e0fca40d88c0de (patch)
tree661dcf24b38b1b84f1a0ffd7cc40518f4841877c
parentac3c7fb5dee40136bb3131277e3f4d2015ad3961 (diff)
downloadphp-git-18cfac40a58a24bc3bcbb927f8e0fca40d88c0de.tar.gz
Kills one compile warning.
-rw-r--r--ext/gd/php_gd.h5
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)