fix build with xcode clang
[m6w6/ext-http] / php_http.h
index bbea3e79034141b28d38898135795b6c134ae27b..8e341ca1d77df8d06e4c76b8cad21fd74527d817 100644 (file)
@@ -6,7 +6,7 @@
     | modification, are permitted provided that the conditions mentioned |
     | in the accompanying LICENSE file are met.                          |
     +--------------------------------------------------------------------+
-    | Copyright (c) 2004-2011, Michael Wallner <mike@php.net>            |
+    | Copyright (c) 2004-2013, Michael Wallner <mike@php.net>            |
     +--------------------------------------------------------------------+
 */
 
 
 #define PHP_HTTP_EXT_VERSION "2.0.0dev"
 
-zend_module_entry http_module_entry;
+extern zend_module_entry http_module_entry;
 #define phpext_http_ptr &http_module_entry
 
-int http_module_number;
+extern int http_module_number;
 
 #endif /* PHP_EXT_HTTP_H */