16 lines
703 B
Text
16 lines
703 B
Text
$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
|