Skip to content

Commit 5344791

Browse files
committed
Drop useless includes
1 parent 22c2d2e commit 5344791

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

ext/spl/spl_directory.c

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,11 @@
2020

2121
#include "php.h"
2222
#include "php_ini.h"
23-
#include "ext/standard/info.h"
2423
#include "ext/standard/file.h"
24+
#include "ext/standard/php_filestat.h"
2525
#include "ext/standard/flock_compat.h"
2626
#include "ext/standard/scanf.h"
2727
#include "ext/standard/php_string.h"
28-
#include "zend_compile.h"
2928
#include "zend_exceptions.h"
3029
#include "zend_interfaces.h"
3130

@@ -37,12 +36,6 @@
3736
#include "spl_directory_arginfo.h"
3837
#include "spl_exceptions.h"
3938

40-
#include "php.h"
41-
#include "fopen_wrappers.h"
42-
43-
#include "ext/standard/basic_functions.h"
44-
#include "ext/standard/php_filestat.h"
45-
4639
#define SPL_HAS_FLAG(flags, test_flag) ((flags & test_flag) ? 1 : 0)
4740

4841
/* declare the class handlers */

0 commit comments

Comments
 (0)