- reorder includes, always include php.h first
[m6w6/ext-http] / http_exception_object.c
index 7ea4af57908448150589801c1dfff4e142686aff..af840465c116e035ce39640223c5ef875d4b0a11 100644 (file)
 #ifdef HAVE_CONFIG_H
 #      include "config.h"
 #endif
-
 #include "php.h"
 
-#include "php_http.h"
-#include "php_http_std_defs.h"
-
 #ifdef ZEND_ENGINE_2
 
-#include "php_http_exception_object.h"
 #include "zend_exceptions.h"
 
+#include "php_http.h"
+#include "php_http_std_defs.h"
+#include "php_http_exception_object.h"
+
 zend_class_entry *http_exception_object_ce;
 zend_function_entry http_exception_object_fe[] = {{NULL, NULL, NULL}};
 
 void _http_exception_object_init(INIT_FUNC_ARGS)
 {
        HTTP_REGISTER_CLASS(HttpException, http_exception_object, zend_exception_get_default(), 0);
-       
+
        HTTP_LONG_CONSTANT("HTTP_E_UNKNOWN", HTTP_E_UNKOWN);
        HTTP_LONG_CONSTANT("HTTP_E_PARSE", HTTP_E_PARSE);
        HTTP_LONG_CONSTANT("HTTP_E_HEADER", HTTP_E_HEADER);