Skip to content

Commit a297a44

Browse files
committed
ext/standard/pack: Remove unused header includes
1 parent 34e22c5 commit a297a44

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

ext/standard/pack.c

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -16,30 +16,10 @@
1616

1717
#include "php.h"
1818

19-
#include <stdio.h>
2019
#include <stdlib.h>
2120
#include <errno.h>
2221
#include <sys/types.h>
23-
#include <sys/stat.h>
24-
#include <fcntl.h>
25-
#ifdef PHP_WIN32
26-
#define O_RDONLY _O_RDONLY
27-
#include "win32/param.h"
28-
#else
29-
#include <sys/param.h>
30-
#endif
3122
#include "pack.h"
32-
#ifdef HAVE_PWD_H
33-
#ifdef PHP_WIN32
34-
#include "win32/pwd.h"
35-
#else
36-
#include <pwd.h>
37-
#endif
38-
#endif
39-
#include "fsock.h"
40-
#ifdef HAVE_NETINET_IN_H
41-
#include <netinet/in.h>
42-
#endif
4323

4424
#define INC_OUTPUTPOS(a,b) \
4525
if ((a) < 0 || ((INT_MAX - outputpos)/((int)b)) < (a)) { \

0 commit comments

Comments
 (0)