- SPL doesn't install its headers
[m6w6/ext-http] / http_message_object.c
index e69010c9b694407602d524bf7ab39aff51af5e2c..310743981e8e523ef44def9087bb78d584e10f2e 100644 (file)
@@ -32,7 +32,8 @@
 #ifndef WONKY
 #      include "zend_interfaces.h"
 #      if defined(HAVE_SPL)
-#              include "ext/spl/spl_array.h"
+/* SPL doesn't install its headers */
+extern PHPAPI zend_class_entry *spl_ce_Countable;
 #      endif
 #endif