Skip to content

Commit 551167b

Browse files
committed
zend_alloc: Make zend_alloc.h independent of zend_types.h
`zend_types.h` itself refers to `emalloc()` in macro definitions (which is defined in `zend_alloc.h`), making this effectively a circular dependency. Since `zend_alloc.h` does not actually need `zend_types.h`, we can just remove this include from there.
1 parent 95a17af commit 551167b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Zend/zend_alloc.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
#include <stdio.h>
2424

25-
#include "zend_types.h"
25+
#include "zend_portability.h"
2626
#include "../TSRM/TSRM.h"
2727

2828
#ifndef ZEND_MM_ALIGNMENT

0 commit comments

Comments
 (0)