diff options
Diffstat (limited to 'net/socket++/patches/patch-aa')
-rw-r--r-- | net/socket++/patches/patch-aa | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/socket++/patches/patch-aa b/net/socket++/patches/patch-aa index b1d4968cb4a..bb5bacec665 100644 --- a/net/socket++/patches/patch-aa +++ b/net/socket++/patches/patch-aa @@ -1,4 +1,4 @@ -$NetBSD: patch-aa,v 1.2 2006/05/12 07:44:26 joerg Exp $ +$NetBSD: patch-aa,v 1.3 2009/04/07 18:05:08 hasso Exp $ --- socket++/local.h.orig 2003-03-14 18:02:40.000000000 +0000 +++ socket++/local.h @@ -6,7 +6,7 @@ $NetBSD: patch-aa,v 1.2 2006/05/12 07:44:26 joerg Exp $ extern "C" char* inet_ntoa (in_addr ina); #if !defined (__linux__) -+#if !defined (__NetBSD__) ++#if !defined (__NetBSD__) && !defined (__DragonFly__) extern "C" int gethostname (char* hostname, int len); -#if !(defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__bsdi__) || defined(__APPLE__)) +#endif |