Skip to content

Commit 588a07f

Browse files
MaxKellermannGirgias
authored andcommitted
Zend/zend_multibyte: include cleanup
1 parent f377e15 commit 588a07f

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

Zend/zend_multibyte.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@
1717
+----------------------------------------------------------------------+
1818
*/
1919

20-
#include "zend.h"
21-
#include "zend_compile.h"
22-
#include "zend_operators.h"
2320
#include "zend_multibyte.h"
21+
#include "zend_alloc.h"
22+
#include "zend_globals.h" // for struct _zend_compiler_globals
23+
#include "zend_globals_macros.h" // for LANG_SCNG()
2424
#include "zend_ini.h"
2525

2626
static const zend_encoding *dummy_encoding_fetcher(const char *encoding_name)

Zend/zend_multibyte.h

+6
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,12 @@
2020
#ifndef ZEND_MULTIBYTE_H
2121
#define ZEND_MULTIBYTE_H
2222

23+
#include "zend_portability.h" // for BEGIN_EXTERN_C
24+
#include "zend_types.h" // for zend_result
25+
26+
#include <stdbool.h>
27+
#include <stddef.h> // for size_t
28+
2329
typedef struct _zend_encoding zend_encoding;
2430

2531
typedef size_t (*zend_encoding_filter)(unsigned char **str, size_t *str_length, const unsigned char *buf, size_t length);

0 commit comments

Comments
 (0)