Skip to content

Commit d8a21e7

Browse files
committed
Zend/zend_portability: move unnecessary includes to main/php.h
1 parent 9bcbf5a commit d8a21e7

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

Zend/zend_portability.h

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -50,17 +50,12 @@
5050
# define ZEND_PATHS_SEPARATOR ':'
5151
#endif
5252

53-
#include "../TSRM/TSRM.h"
54-
55-
#include <stdio.h>
5653
#include <assert.h>
57-
#include <math.h>
5854

5955
#ifdef HAVE_UNIX_H
6056
# include <unix.h>
6157
#endif
6258

63-
#include <stdarg.h>
6459
#include <stddef.h>
6560

6661
#ifdef HAVE_DLFCN_H
@@ -73,8 +68,6 @@
7368
#include <intrin.h>
7469
#endif
7570

76-
#include "zend_range_check.h"
77-
7871
/* GCC x.y.z supplies __GNUC__ = x and __GNUC_MINOR__ = y */
7972
#ifdef __GNUC__
8073
# define ZEND_GCC_VERSION (__GNUC__ * 1000 + __GNUC_MINOR__)

main/php.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
#include "zend_rc_debug.h"
3333
#include "zend_sort.h"
3434
#include "php_compat.h"
35+
#include "zend_range_check.h"
3536

3637
#include "zend_API.h"
3738

0 commit comments

Comments
 (0)