From 031df50636e8304c98839e6f6a265c1616850059 Mon Sep 17 00:00:00 2001 From: chatty Date: Wed, 18 May 1994 10:01:31 +0000 Subject: Ported to Solaris --- comm/OLD/PortServer.cc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'comm') diff --git a/comm/OLD/PortServer.cc b/comm/OLD/PortServer.cc index d66f722..6305c63 100644 --- a/comm/OLD/PortServer.cc +++ b/comm/OLD/PortServer.cc @@ -38,6 +38,11 @@ extern "C" { } #endif +#if defined(sun) && defined(__svr4__) +extern "C" { + int gethostname (char*, int); +} +#endif #define DEFKEY "%s:" -- cgit v1.1