From 4d2fd6a25b2f22c0b40b04e3cfae7cf9aac77225 Mon Sep 17 00:00:00 2001 From: joerg Date: Thu, 5 Mar 2009 15:14:14 +0000 Subject: Always define _REENTRANT to get gmtime_r prototype on Interix. --- net/libfetch/files/http.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'net') diff --git a/net/libfetch/files/http.c b/net/libfetch/files/http.c index 50ca3dda034..1220837dcf9 100644 --- a/net/libfetch/files/http.c +++ b/net/libfetch/files/http.c @@ -1,4 +1,4 @@ -/* $NetBSD: http.c,v 1.22 2009/02/22 19:11:48 joerg Exp $ */ +/* $NetBSD: http.c,v 1.23 2009/03/05 15:14:14 joerg Exp $ */ /*- * Copyright (c) 2000-2004 Dag-Erling Coïdan Smørgrav * Copyright (c) 2003 Thomas Klausner @@ -68,6 +68,9 @@ #define _GNU_SOURCE #endif +/* Needed for gmtime_r on Interix */ +#define _REENTRANT + #if HAVE_CONFIG_H #include "config.h" #endif -- cgit v1.2.3