diff options
author | joerg <joerg> | 2009-03-05 15:14:14 +0000 |
---|---|---|
committer | joerg <joerg> | 2009-03-05 15:14:14 +0000 |
commit | f46633b3a967bf96751972d4935459461e1cc35d (patch) | |
tree | 6dcba8fd8dcb62dee3af9e86c4322cef4ba93d8d /net | |
parent | a6f728feff4661003a6a6a780b06115db5c6e090 (diff) | |
download | pkgsrc-f46633b3a967bf96751972d4935459461e1cc35d.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 |