Commit 5323b27c authored by Michael Smith's avatar Michael Smith

Couple of minor contributed patches.

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

svn path=/trunk/icecast/; revision=5921
parent 3a14d875
......@@ -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 --
......
......@@ -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
*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment