fix gh-issue #3
[m6w6/ext-http] / php_http_querystring.c
index d2657484668ade531a876860c51354707e06a99e..d72337f80a5bc29e4c6544528127363f849c2cac 100644 (file)
@@ -16,6 +16,9 @@
 #include <ext/spl/spl_array.h>
 
 #ifdef PHP_HTTP_HAVE_ICONV
+#      ifndef HAVE_ICONV
+#              define HAVE_ICONV 1
+#      endif
 #      undef PHP_ATOM_INC
 #      include <ext/iconv/php_iconv.h>
 #endif