--- imlib2.c.orig	2010-01-14 12:19:05.000000000 +0100
+++ imlib2.c	2010-01-14 12:26:35.000000000 +0100
@@ -48,6 +48,11 @@
 static int le_imlib2_poly;
 
 
+ZEND_BEGIN_ARG_INFO(second_arg_force_ref, 0)
+	ZEND_ARG_PASS_INFO(0)
+	ZEND_ARG_PASS_INFO(1)
+ZEND_END_ARG_INFO()
+
 function_entry imlib2_functions[] = {
 	PHP_FE(imlib2_image_modify_gamma,NULL)
 	PHP_FE(imlib2_image_modify_contrast,NULL)
