summaryrefslogtreecommitdiff
path: root/cpp/src/IceGrid/NodeI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/IceGrid/NodeI.cpp')
-rw-r--r--cpp/src/IceGrid/NodeI.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/src/IceGrid/NodeI.cpp b/cpp/src/IceGrid/NodeI.cpp
index 5303d82acb9..5119528026d 100644
--- a/cpp/src/IceGrid/NodeI.cpp
+++ b/cpp/src/IceGrid/NodeI.cpp
@@ -8,9 +8,9 @@
// **********************************************************************
#include <IceUtil/Timer.h>
+#include <IceUtil/FileUtil.h>
#include <Ice/Ice.h>
#include <IcePatch2/Util.h>
-#include <IcePatch2/OS.h>
#include <IcePatch2/ClientUtil.h>
#include <IceGrid/NodeI.h>
#include <IceGrid/Activator.h>
@@ -1153,8 +1153,8 @@ NodeI::removeServer(const ServerIPtr& server, const std::string& application)
_serversByApplication.erase(p);
string appDir = _dataDir + "/distrib/" + application;
- IceInternal::OS::structstat buf;
- if(IceInternal::OS::osstat(appDir, &buf) != -1 && S_ISDIR(buf.st_mode))
+ IceUtilInternal::structstat buf;
+ if(IceUtilInternal::stat(appDir, &buf) != -1 && S_ISDIR(buf.st_mode))
{
try
{