diff options
author | joerg <joerg@pkgsrc.org> | 2009-03-05 15:14:14 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2009-03-05 15:14:14 +0000 |
commit | 4d2fd6a25b2f22c0b40b04e3cfae7cf9aac77225 (patch) | |
tree | 6dcba8fd8dcb62dee3af9e86c4322cef4ba93d8d /net | |
parent | 1432cb6b1a2a2590f50a6e2b715bb291535476bd (diff) | |
download | pkgsrc-4d2fd6a25b2f22c0b40b04e3cfae7cf9aac77225.tar.gz |
Always define _REENTRANT to get gmtime_r prototype on Interix.
Diffstat (limited to 'net')
-rw-r--r-- | net/libfetch/files/http.c | 5 |
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 |