summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/Instance.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/Ice/Instance.cpp')
-rw-r--r--cpp/src/Ice/Instance.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/Ice/Instance.cpp b/cpp/src/Ice/Instance.cpp
index c69093250f2..d99564a7a72 100644
--- a/cpp/src/Ice/Instance.cpp
+++ b/cpp/src/Ice/Instance.cpp
@@ -42,7 +42,7 @@
#endif
#ifndef _WIN32
-# include <csignal>
+# include <signal.h>
# include <syslog.h>
# include <pwd.h>
# include <sys/types.h>
@@ -590,7 +590,7 @@ IceInternal::Instance::finishSetup(int& argc, char* argv[])
LocatorPrx::uncheckedCast(_proxyFactory->stringToProxy(_defaultsAndOverrides->defaultLocator)));
}
-#ifndef _WIN32
+#if !defined(_WIN32) && !defined(__sun)
//
// daemon() must be called after any plug-ins have been
// installed. For example, an SSL plug-in might want to