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>
|
# 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"
|
||||||
|
@ -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"
|
||||||
|
|
||||||
|
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user