summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Mack <zonque@users.sourceforge.net>2004-09-18 20:50:09 +0000
committerDaniel Mack <zonque@users.sourceforge.net>2004-09-18 20:50:09 +0000
commit5609b15a6953dfc65df6b61a634e1e43ade4efaa (patch)
tree42a8f6d8be9802a43b18098c586b0ee94f094881
parent2866997d04d9d314869cb757a7cec2f7d4c830a9 (diff)
downloadxine-lib-5609b15a6953dfc65df6b61a634e1e43ade4efaa.tar.gz
xine-lib-5609b15a6953dfc65df6b61a634e1e43ade4efaa.tar.bz2
Fixed compilation on MacOSX/Darwin.
CVS patchset: 6980 CVS date: 2004/09/18 20:50:09
-rw-r--r--src/input/input_http.c6
1 files changed, 5 insertions, 1 deletions
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 <errno.h>
#endif /* WIN32 */
+#ifdef HOST_OS_DARWIN
+#define __STDC_LIBRARY_SUPPORTED__
+#endif /* HOST_OS_DARWIN */
+
#include <sys/time.h>
#define LOG_MODULE "input_http"