summaryrefslogtreecommitdiff
path: root/cpp/src/IcePatch2/Server.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/IcePatch2/Server.cpp')
-rw-r--r--cpp/src/IcePatch2/Server.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/cpp/src/IcePatch2/Server.cpp b/cpp/src/IcePatch2/Server.cpp
index a007a154c73..2db6d9ec383 100644
--- a/cpp/src/IcePatch2/Server.cpp
+++ b/cpp/src/IcePatch2/Server.cpp
@@ -13,7 +13,6 @@
#include <Ice/Service.h>
#include <IcePatch2/FileServerI.h>
#include <IcePatch2/Util.h>
-#include <OS.h>
using namespace std;
using namespace Ice;
@@ -125,7 +124,7 @@ IcePatch2::PatcherService::start(int argc, char* argv[])
if(!IceUtilInternal::isAbsolutePath(dataDir))
{
string cwd;
- if(IceInternal::OS::getcwd(cwd) != 0)
+ if(IceUtilInternal::getcwd(cwd) != 0)
{
throw "cannot get the current directory:\n" + IceUtilInternal::lastErrorToString();
}