mirror of
https://github.com/php/php-src.git
synced 2025-08-18 23:18:56 +02:00
Fixed compilation on Solaris
This commit is contained in:
parent
a4f2165295
commit
09d628c62d
1 changed files with 4 additions and 0 deletions
|
@ -71,6 +71,10 @@
|
||||||
# include <netdb.h>
|
# include <netdb.h>
|
||||||
# include <sys/signal.h>
|
# include <sys/signal.h>
|
||||||
|
|
||||||
|
#ifndef INADDR_NONE
|
||||||
|
#define INADDR_NONE ((unsigned long) -1)
|
||||||
|
#endif
|
||||||
|
|
||||||
# ifndef HAVE_SOCKLEN_T
|
# ifndef HAVE_SOCKLEN_T
|
||||||
typedef unsigned int socklen_t;
|
typedef unsigned int socklen_t;
|
||||||
# endif
|
# endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue