Commit a434767c authored by brendan's avatar brendan

Mike's #include patch

svn path=/trunk/icecast/; revision=5170
parent d2ee7bbf
......@@ -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) {
......
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