From: Michael Wallner Date: Mon, 11 Apr 2005 06:51:55 +0000 (+0000) Subject: - missing includes X-Git-Tag: RELEASE_0_8_0~92 X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=commitdiff_plain;h=bec583518dd611eb52d0969b4cf07abfc30eae97;ds=sidebyside - missing includes --- diff --git a/http_headers_api.c b/http_headers_api.c index f820a13..930c496 100644 --- a/http_headers_api.c +++ b/http_headers_api.c @@ -22,6 +22,8 @@ #include #include "php.h" +#include "ext/standard/php_string.h" +#include "ext/standard/url.h" #include "php_http.h" #include "php_http_std_defs.h" @@ -254,7 +256,7 @@ PHP_HTTP_API STATUS _http_parse_headers_ex(const char *header, size_t header_len char *end = strstr(header, HTTP_CRLF); size_t len = end - (header + lenof("HTTP/1.x ")); char *val = estrndup(header + lenof("HTTP/1.x "), len); - + add_assoc_stringl(&array, "Status", val, len, 0); header = end + 2; }