summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2009-03-05 15:14:14 +0000
committerjoerg <joerg@pkgsrc.org>2009-03-05 15:14:14 +0000
commit4d2fd6a25b2f22c0b40b04e3cfae7cf9aac77225 (patch)
tree6dcba8fd8dcb62dee3af9e86c4322cef4ba93d8d /net
parent1432cb6b1a2a2590f50a6e2b715bb291535476bd (diff)
downloadpkgsrc-4d2fd6a25b2f22c0b40b04e3cfae7cf9aac77225.tar.gz
Always define _REENTRANT to get gmtime_r prototype on Interix.
Diffstat (limited to 'net')
-rw-r--r--net/libfetch/files/http.c5
1 files changed, 4 insertions, 1 deletions
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 <wiz@NetBSD.org>
@@ -68,6 +68,9 @@
#define _GNU_SOURCE
#endif
+/* Needed for gmtime_r on Interix */
+#define _REENTRANT
+
#if HAVE_CONFIG_H
#include "config.h"
#endif