fix build with xcode clang
[m6w6/ext-http] / php_http_message.h
index e94714f5af64896e1e984027c6865460242b5b46..ea747fe671558b30244594b7327c5f2d16df6ba3 100644 (file)
@@ -80,7 +80,7 @@ typedef struct php_http_message_object {
        zval *iterator;
 } php_http_message_object_t;
 
-zend_class_entry *php_http_message_class_entry;
+PHP_HTTP_API zend_class_entry *php_http_message_class_entry;
 
 PHP_MINIT_FUNCTION(http_message);
 PHP_MSHUTDOWN_FUNCTION(http_message);