From 5609b15a6953dfc65df6b61a634e1e43ade4efaa Mon Sep 17 00:00:00 2001 From: Daniel Mack Date: Sat, 18 Sep 2004 20:50:09 +0000 Subject: Fixed compilation on MacOSX/Darwin. CVS patchset: 6980 CVS date: 2004/09/18 20:50:09 --- src/input/input_http.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/input/input_http.c b/src/input/input_http.c index 2ad0bcc4a..da78175c0 100644 --- a/src/input/input_http.c +++ b/src/input/input_http.c @@ -19,7 +19,7 @@ * * input plugin for http network streams * - * $Id: input_http.c,v 1.96 2004/09/17 19:21:46 valtri Exp $ + * $Id: input_http.c,v 1.97 2004/09/18 20:50:09 zonque Exp $ */ #ifdef HAVE_CONFIG_H @@ -39,6 +39,10 @@ #include #endif /* WIN32 */ +#ifdef HOST_OS_DARWIN +#define __STDC_LIBRARY_SUPPORTED__ +#endif /* HOST_OS_DARWIN */ + #include #define LOG_MODULE "input_http" -- cgit v1.2.3