Solaris fixes
This commit is contained in:
parent
1c8d5e8b84
commit
25b3dd0679
|
@ -31,6 +31,9 @@ AM_CONDITIONAL(COND_REND_POSIX, test x$rend_howl = xfalse)
|
|||
dnl Darwin's stupid cpp preprocessor....
|
||||
echo Host type is $host
|
||||
case $host in
|
||||
*solaris*)
|
||||
CPPFLAGS="$CPPFLAGS -DHAVE_SOCKLEN_T"
|
||||
LDFLAGS="$LDFLAGS -lnsl -lsocket";;
|
||||
*linux*)
|
||||
CPPFLAGS="$CPPFLAGS -DHAVE_SOCKLEN_T";;
|
||||
*darwin*)
|
||||
|
|
|
@ -27,6 +27,7 @@
|
|||
#include <fcntl.h>
|
||||
#include <limits.h>
|
||||
#include <pthread.h>
|
||||
#include <signal.h>
|
||||
#include <stdarg.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
|
|
@ -48,6 +48,11 @@
|
|||
#define MAXBACKLOG 50
|
||||
#endif
|
||||
|
||||
#ifndef INADDR_NONE
|
||||
# define INADDR_NONE 0xFFFFFFFFU
|
||||
#endif
|
||||
|
||||
|
||||
/*
|
||||
* u_igniore_sigpipe
|
||||
* Ignore SIGPIPE if the default action is in effect.
|
||||
|
|
Loading…
Reference in New Issue