1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2024-12-04 14:46:30 -05:00

Mike's #include patch

svn path=/trunk/icecast/; revision=5170
This commit is contained in:
brendan 2003-07-24 05:24:00 +00:00
parent d2ee7bbfca
commit a434767c34
3 changed files with 9 additions and 1 deletions

View File

@ -16,6 +16,10 @@
# include <strings.h> # include <strings.h>
#endif #endif
#ifdef HAVE_ALLOCA_H
#include <alloca.h>
#endif
#include "refbuf.h" #include "refbuf.h"
#include "source.h" #include "source.h"
#include "client.h" #include "client.h"

View File

@ -19,6 +19,10 @@
#include <errno.h> #include <errno.h>
#endif #endif
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#include "cfgfile.h" #include "cfgfile.h"
#include "sighandler.h" #include "sighandler.h"

View File

@ -73,7 +73,7 @@ void xslt_shutdown() {
} }
static int evict_cache_entry() { static int evict_cache_entry() {
int i, age=0, oldest; int i, age=0, oldest=0;
for(i=0; i < CACHESIZE; i++) { for(i=0; i < CACHESIZE; i++) {
if(cache[i].cache_age > age) { if(cache[i].cache_age > age) {