X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=src%2Fphp_http.c;h=498a224be018b59e3282d7d5a2685309711940c4;hp=207c248ae0f04a6831d50fc8c34bc732b94d9a7c;hb=6c1356cbe7363bf41f770b1dce59abef93dcc021;hpb=a25866b2177031ae8f5142db8a45fd58dad4e161 diff --git a/src/php_http.c b/src/php_http.c index 207c248..498a224 100644 --- a/src/php_http.c +++ b/src/php_http.c @@ -31,12 +31,12 @@ #if PHP_HTTP_HAVE_LIBICU # include #endif -#if PHP_HTTP_HAVE_LIBIDN2 -# include -#endif #if PHP_HTTP_HAVE_LIBIDN # include #endif +#if PHP_HTTP_HAVE_LIBIDN2 +# include +#endif #if PHP_HTTP_HAVE_LIBIDNKIT2 || PHP_HTTP_HAVE_LIBIDNKIT #include "idn/version.h" #endif @@ -137,6 +137,10 @@ PHP_MINIT_FUNCTION(http) || SUCCESS != PHP_MINIT_CALL(http_exception) || SUCCESS != PHP_MINIT_CALL(http_cookie) || SUCCESS != PHP_MINIT_CALL(http_encoding) + || SUCCESS != PHP_MINIT_CALL(http_encoding_zlib) +#if PHP_HTTP_HAVE_LIBBROTLI + || SUCCESS != PHP_MINIT_CALL(http_encoding_brotli) +#endif || SUCCESS != PHP_MINIT_CALL(http_filter) || SUCCESS != PHP_MINIT_CALL(http_header) || SUCCESS != PHP_MINIT_CALL(http_header_parser)