pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/libfetch/files Always define _REENTRANT to get gmt...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e88f6c570ede
branches:  trunk
changeset: 555568:e88f6c570ede
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Thu Mar 05 15:14:14 2009 +0000

description:
Always define _REENTRANT to get gmtime_r prototype on Interix.

diffstat:

 net/libfetch/files/http.c |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r c24f35c39612 -r e88f6c570ede net/libfetch/files/http.c
--- a/net/libfetch/files/http.c Thu Mar 05 14:17:46 2009 +0000
+++ b/net/libfetch/files/http.c Thu Mar 05 15:14:14 2009 +0000
@@ -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@localhost>
@@ -68,6 +68,9 @@
 #define _GNU_SOURCE
 #endif
 
+/* Needed for gmtime_r on Interix */
+#define _REENTRANT
+
 #if HAVE_CONFIG_H
 #include "config.h"
 #endif



Home | Main Index | Thread Index | Old Index