diff options
author | ryoon <ryoon@pkgsrc.org> | 2013-07-26 10:21:41 +0000 |
---|---|---|
committer | ryoon <ryoon@pkgsrc.org> | 2013-07-26 10:21:41 +0000 |
commit | 863a84195738fb9b6b2ebc436e5b970427a4824b (patch) | |
tree | 986be7e40c120c1cfb075a4115b775171f7ed3e6 /net/libfetch/files | |
parent | da048e8a2c21108e7df12bd643086c516faa2244 (diff) | |
download | pkgsrc-863a84195738fb9b6b2ebc436e5b970427a4824b.tar.gz |
Fix build under GNU/kFreeBSD.
Diffstat (limited to 'net/libfetch/files')
-rw-r--r-- | net/libfetch/files/http.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/net/libfetch/files/http.c b/net/libfetch/files/http.c index a37efb53f75..481abced6ba 100644 --- a/net/libfetch/files/http.c +++ b/net/libfetch/files/http.c @@ -1,4 +1,4 @@ -/* $NetBSD: http.c,v 1.32 2012/04/07 15:27:21 joerg Exp $ */ +/* $NetBSD: http.c,v 1.33 2013/07/26 10:21:41 ryoon Exp $ */ /*- * Copyright (c) 2000-2004 Dag-Erling Coïdan Smørgrav * Copyright (c) 2003 Thomas Klausner <wiz@NetBSD.org> @@ -63,8 +63,12 @@ * SUCH DAMAGE. */ -#if defined(__linux__) || defined(__MINT__) +#if defined(__linux__) || defined(__MINT__) || defined(__FreeBSD_kernel__) /* Keep this down to Linux or MiNT, it can create surprises elsewhere. */ +/* + __FreeBSD_kernel__ is defined for GNU/kFreeBSD. + See http://glibc-bsd.alioth.debian.org/porting/PORTING . +*/ #define _GNU_SOURCE #endif |