summaryrefslogtreecommitdiff
path: root/comm/OLD/PortServer.cc
diff options
context:
space:
mode:
authorchatty1994-05-18 10:01:31 +0000
committerchatty1994-05-18 10:01:31 +0000
commit031df50636e8304c98839e6f6a265c1616850059 (patch)
treec621de16f1afda5c25253556924c0ee70fdd207c /comm/OLD/PortServer.cc
parenta72645359d8f4a2c8c6c407d28f780875e81930b (diff)
downloadivy-league-031df50636e8304c98839e6f6a265c1616850059.zip
ivy-league-031df50636e8304c98839e6f6a265c1616850059.tar.gz
ivy-league-031df50636e8304c98839e6f6a265c1616850059.tar.bz2
ivy-league-031df50636e8304c98839e6f6a265c1616850059.tar.xz
Ported to Solaris
Diffstat (limited to 'comm/OLD/PortServer.cc')
-rw-r--r--comm/OLD/PortServer.cc5
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:"