From 632c1e57fb475cd8563e858a3c8567a6ddeeb200 Mon Sep 17 00:00:00 2001 From: Jack Moffitt Date: Sat, 20 Oct 2001 06:51:29 +0000 Subject: [PATCH] It's too bad we don't have a commit script that smacks me upside the head when I do stupid things like this. svn path=/trunk/icecast/; revision=2196 --- src/connection.h | 2 ++ src/main.c | 1 + src/stats.c | 2 ++ 3 files changed, 5 insertions(+) diff --git a/src/connection.h b/src/connection.h index 9d7b1605..5bf62bac 100644 --- a/src/connection.h +++ b/src/connection.h @@ -1,6 +1,8 @@ #ifndef __CONNECTION_H__ #define __CONNECTION_H__ +#include + typedef struct connection_tag { unsigned long id; diff --git a/src/main.c b/src/main.c index ef3ce73c..115717bc 100644 --- a/src/main.c +++ b/src/main.c @@ -22,6 +22,7 @@ #ifdef _WIN32 #define snprintf _snprintf +#endif #undef CATMODULE #define CATMODULE "main" diff --git a/src/stats.c b/src/stats.c index 86f20a61..5b33c33e 100644 --- a/src/stats.c +++ b/src/stats.c @@ -19,7 +19,9 @@ #include "client.h" #include "stats.h" +#ifdef _WIN32 #define vsnprintf _vsnprintf +#endif typedef struct _event_listener_tag {