diff options
Diffstat (limited to 'comm/OLD')
-rw-r--r-- | comm/OLD/PortServer.cc | 5 |
1 files changed, 5 insertions, 0 deletions
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:" |