diff options
Diffstat (limited to 'cpp/src/IceGrid/PlatformInfo.cpp')
-rw-r--r-- | cpp/src/IceGrid/PlatformInfo.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cpp/src/IceGrid/PlatformInfo.cpp b/cpp/src/IceGrid/PlatformInfo.cpp index 3fe3e834aa5..55b9e982be7 100644 --- a/cpp/src/IceGrid/PlatformInfo.cpp +++ b/cpp/src/IceGrid/PlatformInfo.cpp @@ -18,7 +18,9 @@ #include <IcePatch2/Util.h> -#if !defined(_WIN32) +#if defined(_WIN32) +# include <direct.h> // For _getcwd +#else # include <sys/utsname.h> # if defined(__APPLE__) # include <sys/sysctl.h> |