Skip to content

Commit 4831e48

Browse files
MaxKellermannGirgias
authored andcommitted
Zend/zend_system_id: include cleanup
1 parent cd985de commit 4831e48

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

Zend/zend_system_id.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,10 @@
1515
+----------------------------------------------------------------------+
1616
*/
1717

18-
#include "php.h"
1918
#include "zend_system_id.h"
20-
#include "zend_extensions.h"
19+
#include "zend_extensions.h" // for ZEND_EXTENSION_BUILD_ID
2120
#include "ext/standard/md5.h"
22-
#include "ext/hash/php_hash.h"
21+
#include "ext/hash/php_hash.h" // for php_hash_bin2hex()
2322

2423
ZEND_API char zend_system_id[32];
2524

Zend/zend_system_id.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@
1717
#ifndef ZEND_SYSTEM_ID_H
1818
#define ZEND_SYSTEM_ID_H
1919

20+
#include "zend_portability.h" // for BEGIN_EXTERN_C
21+
#include "zend_types.h" // for ZEND_RESULT_CODE
22+
2023
BEGIN_EXTERN_C()
2124
/* True global; Write-only during MINIT/startup */
2225
extern ZEND_API char zend_system_id[32];

0 commit comments

Comments
 (0)