diff options
Diffstat (limited to 'Zend/zend_alloc.h')
-rw-r--r-- | Zend/zend_alloc.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Zend/zend_alloc.h b/Zend/zend_alloc.h index ee2cf063f8..1df9f139d6 100644 --- a/Zend/zend_alloc.h +++ b/Zend/zend_alloc.h @@ -23,6 +23,7 @@ #include <stdio.h> +#include "../TSRM/TSRM.h" #include "zend_globals_macros.h" #define MEM_BLOCK_START_MAGIC 0x7312F8DCL @@ -38,6 +39,9 @@ typedef struct _zend_mem_header { int reported; char *orig_filename; uint orig_lineno; +# ifdef ZTS + THREAD_T thread_id; +# endif #endif struct _zend_mem_header *pNext; struct _zend_mem_header *pLast; |