diff options
-rw-r--r-- | ext/simplexml/sxe.c | 5 | ||||
-rw-r--r-- | ext/simplexml/sxe.h | 3 |
2 files changed, 5 insertions, 3 deletions
diff --git a/ext/simplexml/sxe.c b/ext/simplexml/sxe.c index 3095bde2d4..c5241a804a 100644 --- a/ext/simplexml/sxe.c +++ b/ext/simplexml/sxe.c @@ -27,12 +27,13 @@ #include "ext/standard/info.h" #include "zend_interfaces.h" +#include "php_simplexml.h" #include "ext/spl/php_spl.h" #include "ext/spl/spl_iterators.h" #include "sxe.h" -zend_class_entry *ce_SimpleXMLIterator = NULL; -zend_class_entry *ce_SimpleXMLElement; +PHP_SXE_API zend_class_entry *ce_SimpleXMLIterator = NULL; +PHP_SXE_API zend_class_entry *ce_SimpleXMLElement; #include "php_simplexml_exports.h" diff --git a/ext/simplexml/sxe.h b/ext/simplexml/sxe.h index 992d1ffc37..78967313d1 100644 --- a/ext/simplexml/sxe.h +++ b/ext/simplexml/sxe.h @@ -23,7 +23,8 @@ #include "php.h" -extern zend_class_entry *ce_SimpleXMLIterator; +extern PHP_SXE_API zend_class_entry *ce_SimpleXMLIterator; +extern PHP_SXE_API zend_class_entry *ce_SimpleXMLElement; PHP_MINIT_FUNCTION(sxe); |