summaryrefslogtreecommitdiff
path: root/net/socket++/patches/patch-aa
blob: bb5bacec665df812f4026436cb20c6d68f19f0dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$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
@@ -90,8 +90,10 @@ extern "C" unsigned long inet_addr (cons
 extern "C" char* inet_ntoa (in_addr ina);
 
 #if !defined (__linux__)
+#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
+#if !(defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__bsdi__) || defined(__APPLE__) || defined(__DragonFly__))
   extern char* SYS_SIGLIST [];
 #endif
 #endif