1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2025-02-02 15:07:36 -05:00

Couple of minor contributed patches.

- Solaris/autoconf nanosleep checking
- use time_t as appropriate for yp

svn path=/trunk/icecast/; revision=5921
This commit is contained in:
Michael Smith 2004-03-09 02:36:01 +00:00
parent 3a14d87536
commit 5323b27c95
2 changed files with 5 additions and 3 deletions

View File

@ -62,7 +62,9 @@ dnl Checks for typedefs, structures, and compiler characteristics.
dnl Check for types
dnl Checks for library functions.
AC_CHECK_FUNCS(localtime_r nanosleep poll)
AC_CHECK_FUNCS(localtime_r poll)
AC_SEARCH_LIBS(nanosleep, rt posix4, AC_DEFINE(HAVE_NANOSLEEP, 1,
[Define if you have nanosleep]))
XIPH_NET
dnl -- configure options --

View File

@ -376,7 +376,7 @@ static void source_init (source_t *source)
int listen_url_size;
#ifdef USE_YP
char *s;
long current_time;
time_t current_time;
int i;
char *ai;
@ -518,7 +518,7 @@ static void source_init (source_t *source)
/*
** Now, if we have a fallback source and override is on, we want
** to steal it's clients, because it means we've come back online
** to steal its clients, because it means we've come back online
** after a failure and they should be gotten back from the waiting
** loop or jingle track or whatever the fallback is used for
*/