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:
parent
d2ee7bbfca
commit
a434767c34
@ -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"
|
||||
|
@ -19,6 +19,10 @@
|
||||
#include <errno.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_UNISTD_H
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
#include "cfgfile.h"
|
||||
#include "sighandler.h"
|
||||
|
||||
|
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user