OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*******************************************************************************/
-#include "php_psi_stdinc.h"
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#else
+# include "php_config.h"
+#endif
#include "data.h"
#include <assert.h>
struct psi_layout *psi_layout_init(size_t pos, size_t len, struct psi_layout *bfw)
{
- struct psi_layout *l = calloc(1, sizeof(*l));
+ struct psi_layout *l = pecalloc(1, sizeof(*l), 1);
assert(pos + len + (intptr_t) bfw);