We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 34e22c5 commit a297a44Copy full SHA for a297a44
ext/standard/pack.c
@@ -16,30 +16,10 @@
16
17
#include "php.h"
18
19
-#include <stdio.h>
20
#include <stdlib.h>
21
#include <errno.h>
22
#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
31
#include "pack.h"
32
-#ifdef HAVE_PWD_H
33
34
-#include "win32/pwd.h"
35
36
-#include <pwd.h>
37
38
39
-#include "fsock.h"
40
-#ifdef HAVE_NETINET_IN_H
41
-#include <netinet/in.h>
42
43
44
#define INC_OUTPUTPOS(a,b) \
45
if ((a) < 0 || ((INT_MAX - outputpos)/((int)b)) < (a)) { \
0 commit comments