summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorabs <abs>2009-03-05 19:07:03 +0000
committerabs <abs>2009-03-05 19:07:03 +0000
commited0cd17b1a1cf9f5eaa8a4bd3907451aae376c2b (patch)
tree9849858a8fc8b1ad49cbba04a3ebaa5f6adeb59b /net
parent89c90a19c45e71216068c08e92f110cb6a981fde (diff)
downloadpkgsrc-ed0cd17b1a1cf9f5eaa8a4bd3907451aae376c2b.tar.gz
Like Linux, MiNT wants _GNU_SOURCE (for strptime)
Diffstat (limited to 'net')
-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