header cleanups and fix some warnings
[m6w6/ext-http] / php_http_neon.h
index dd4ff9831548658c815231ba069b7d23680ae254..19b522df8186e6b91afb48fbe90a7204dcb595bd 100644 (file)
@@ -1,6 +1,22 @@
+/*
+    +--------------------------------------------------------------------+
+    | PECL :: http                                                       |
+    +--------------------------------------------------------------------+
+    | Redistribution and use in source and binary forms, with or without |
+    | modification, are permitted provided that the conditions mentioned |
+    | in the accompanying LICENSE file are met.                          |
+    +--------------------------------------------------------------------+
+    | Copyright (c) 2004-2011, Michael Wallner <mike@php.net>            |
+    +--------------------------------------------------------------------+
+*/
+
 #ifndef PHP_HTTP_NEON_H
 #define PHP_HTTP_NEON_H
 
+#if PHP_HTTP_HAVE_NEON
+
+#include "php_http_request.h"
+
 php_http_request_ops_t *php_http_neon_get_request_ops(void);
 
 PHP_MINIT_FUNCTION(http_neon);
@@ -13,4 +29,15 @@ extern zend_function_entry php_http_neon_method_entry[];
 
 PHP_METHOD(HttpNEON, __construct);
 
+#endif /* PHP_HTTP_HAVE_NEON */
 #endif /* PHP_HTTP_NEON_H */
+
+/*
+ * Local variables:
+ * tab-width: 4
+ * c-basic-offset: 4
+ * End:
+ * vim600: noet sw=4 ts=4 fdm=marker
+ * vim<600: noet sw=4 ts=4
+ */
+