summaryrefslogtreecommitdiff
path: root/net/libfetch
diff options
context:
space:
mode:
authorabs <abs@pkgsrc.org>2009-03-05 19:07:03 +0000
committerabs <abs@pkgsrc.org>2009-03-05 19:07:03 +0000
commitd2473b09c110aeb4150574b5af81860dd2f6f072 (patch)
tree9849858a8fc8b1ad49cbba04a3ebaa5f6adeb59b /net/libfetch
parent25a80fb4ab65de992b45059240f7a82bc39d8378 (diff)
downloadpkgsrc-d2473b09c110aeb4150574b5af81860dd2f6f072.tar.gz
Like Linux, MiNT wants _GNU_SOURCE (for strptime)
Diffstat (limited to 'net/libfetch')
-rw-r--r--net/libfetch/files/http.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/libfetch/files/http.c b/net/libfetch/files/http.c
index 1220837dcf9..618e167e833 100644
--- a/net/libfetch/files/http.c
+++ b/net/libfetch/files/http.c
@@ -1,4 +1,4 @@
-/* $NetBSD: http.c,v 1.23 2009/03/05 15:14:14 joerg Exp $ */
+/* $NetBSD: http.c,v 1.24 2009/03/05 19:07:03 abs Exp $ */
/*-
* Copyright (c) 2000-2004 Dag-Erling Coïdan Smørgrav
* Copyright (c) 2003 Thomas Klausner <wiz@NetBSD.org>
@@ -63,8 +63,8 @@
* SUCH DAMAGE.
*/
-#ifdef __linux__
-/* Keep this down to Linux, it can create surprises else where. */
+#if defined(__linux__) || defined(__MINT__)
+/* Keep this down to Linux or MiNT, it can create surprises elsewhere. */
#define _GNU_SOURCE
#endif