Skip to content

Commit f646905

Browse files
committed
Merge branch 'PHP-8.4'
* PHP-8.4: Include relevant system headers before defining fallbacks
2 parents 0aeac68 + 0285e9a commit f646905

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

sapi/fpm/fpm/fpm_config.h

+10
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,16 @@
22

33
#include <php_config.h>
44

5+
#ifdef HAVE_ARPA_INET_H
6+
# include <arpa/inet.h>
7+
#endif
8+
#ifdef HAVE_NETINET_IN_H
9+
# include <netinet/in.h>
10+
#endif
11+
#ifdef HAVE_SYS_TIME_H
12+
# include <sys/time.h>
13+
#endif
14+
515
/* Solaris does not have it */
616
#ifndef INADDR_NONE
717
# define INADDR_NONE (-1)

0 commit comments

Comments
 (0)