blob: 6c80b99a66bad816be225efbda934e49b03ff261 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
$NetBSD: patch-aa,v 1.4 2022/04/25 16:17:48 tnn 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__) && !defined(__sun)
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
|