From bec583518dd611eb52d0969b4cf07abfc30eae97 Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Mon, 11 Apr 2005 06:51:55 +0000 Subject: [PATCH] - missing includes --- http_headers_api.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; } -- 2.30.2