1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

Merge branch 'PHP-8.4'

* PHP-8.4:
  Include relevant system headers before defining fallbacks
This commit is contained in:
Christoph M. Becker
2024-12-22 16:30:45 +01:00

View File

@@ -2,6 +2,16 @@
#include <php_config.h>
#ifdef HAVE_ARPA_INET_H
# include <arpa/inet.h>
#endif
#ifdef HAVE_NETINET_IN_H
# include <netinet/in.h>
#endif
#ifdef HAVE_SYS_TIME_H
# include <sys/time.h>
#endif
/* Solaris does not have it */
#ifndef INADDR_NONE
# define INADDR_NONE (-1)