pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/libfetch/files Fix another surprise from the glibc...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/99e77c4c25c3
branches:  trunk
changeset: 541415:99e77c4c25c3
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Mon Apr 21 22:36:08 2008 +0000

description:
Fix another surprise from the glibc folks.

diffstat:

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

diffs (21 lines):

diff -r 098e1f62eac7 -r 99e77c4c25c3 net/libfetch/files/http.c
--- a/net/libfetch/files/http.c Mon Apr 21 22:24:43 2008 +0000
+++ b/net/libfetch/files/http.c Mon Apr 21 22:36:08 2008 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: http.c,v 1.15 2008/04/19 14:49:24 joerg Exp $  */
+/*     $NetBSD: http.c,v 1.16 2008/04/21 22:36:08 joerg Exp $  */
 /*-
  * Copyright (c) 2000-2004 Dag-Erling Coïdan Smørgrav
  * Copyright (c) 2003 Thomas Klausner <wiz%NetBSD.org@localhost>
@@ -68,6 +68,11 @@
 #endif
 #include <nbcompat.h>
 
+#ifdef __GLIBC__
+/* Keep this down to Linux, it can create surprises else where. */
+#define _XOPEN_SOURCE
+#endif
+
 #include <sys/types.h>
 #include <sys/socket.h>
 



Home | Main Index | Thread Index | Old Index