- missing include
[m6w6/ext-http] / http_request_object.c
index d1c6dba68f55f0082dbf7b2f9e82e64624775b37..0c68635b1a662f1af3814bdf8b1abeb4336938b9 100644 (file)
@@ -34,6 +34,8 @@
 #include "php_http_message_object.h"
 #include "php_http_exception_object.h"
 
+#include "missing.h"
+
 #ifdef PHP_WIN32
 #      include <winsock2.h>
 #endif
@@ -278,7 +280,7 @@ zend_function_entry http_request_object_fe[] = {
        HTTP_REQUEST_ALIAS(methodUnregister, http_request_method_unregister)
        HTTP_REQUEST_ALIAS(methodName, http_request_method_name)
        HTTP_REQUEST_ALIAS(methodExists, http_request_method_exists)
-       
+
        {NULL, NULL, NULL}
 };
 static zend_object_handlers http_request_object_handlers;
@@ -287,8 +289,6 @@ void _http_request_object_init(INIT_FUNC_ARGS)
 {
        HTTP_REGISTER_CLASS_EX(HttpRequest, http_request_object, NULL, 0);
 
-       _http_request_object_declare_default_properties(TSRMLS_C);
-
        /* HTTP/1.1 */
        HTTP_LONG_CONSTANT("HTTP_GET", HTTP_GET);
        HTTP_LONG_CONSTANT("HTTP_HEAD", HTTP_HEAD);