summaryrefslogtreecommitdiff
path: root/net/socket++/patches/patch-aa
blob: c7ed572d74e5f04edfb1dfb489f744bad9367a6a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$NetBSD: patch-aa,v 1.1.1.1 2005/03/27 17:45:38 wiz Exp $

--- socket++/local.h.orig	2003-03-14 19:02:40.000000000 +0100
+++ socket++/local.h
@@ -90,7 +90,9 @@ extern "C" unsigned long inet_addr (cons
 extern "C" char* inet_ntoa (in_addr ina);
 
 #if !defined (__linux__)
+#if !defined (__NetBSD__)
   extern "C" int gethostname (char* hostname, int len);
+#endif
 #if !(defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__bsdi__) || defined(__APPLE__))
   extern char* SYS_SIGLIST [];
 #endif