mirror of
https://github.com/owntone/owntone-server.git
synced 2025-03-30 17:23:44 -04:00
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....
|
dnl Darwin's stupid cpp preprocessor....
|
||||||
echo Host type is $host
|
echo Host type is $host
|
||||||
case $host in
|
case $host in
|
||||||
|
*solaris*)
|
||||||
|
CPPFLAGS="$CPPFLAGS -DHAVE_SOCKLEN_T"
|
||||||
|
LDFLAGS="$LDFLAGS -lnsl -lsocket";;
|
||||||
*linux*)
|
*linux*)
|
||||||
CPPFLAGS="$CPPFLAGS -DHAVE_SOCKLEN_T";;
|
CPPFLAGS="$CPPFLAGS -DHAVE_SOCKLEN_T";;
|
||||||
*darwin*)
|
*darwin*)
|
||||||
|
@ -27,6 +27,7 @@
|
|||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
#include <pthread.h>
|
#include <pthread.h>
|
||||||
|
#include <signal.h>
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
@ -48,6 +48,11 @@
|
|||||||
#define MAXBACKLOG 50
|
#define MAXBACKLOG 50
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef INADDR_NONE
|
||||||
|
# define INADDR_NONE 0xFFFFFFFFU
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* u_igniore_sigpipe
|
* u_igniore_sigpipe
|
||||||
* Ignore SIGPIPE if the default action is in effect.
|
* Ignore SIGPIPE if the default action is in effect.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user