]> granicus.if.org Git - php/commitdiff
Kills one compile warning.
authorfoobar <sniper@php.net>
Sun, 10 Dec 2000 00:37:43 +0000 (00:37 +0000)
committerfoobar <sniper@php.net>
Sun, 10 Dec 2000 00:37:43 +0000 (00:37 +0000)
ext/gd/php_gd.h

index 53c2117712b33ff5edbb715aaa18adcd0d5d0c46..27999968fde9fad6ac07d4a9c3ed078b0889b329 100644 (file)
@@ -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)