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>
#endif
#ifdef HAVE_ALLOCA_H
#include <alloca.h>
#endif
#include "refbuf.h"
#include "source.h"
#include "client.h"

View File

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

View File

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