summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src')
-rw-r--r--cpp/src/IceUtil/Random.cpp2
-rw-r--r--cpp/src/IceUtil/UUID.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/IceUtil/Random.cpp b/cpp/src/IceUtil/Random.cpp
index d3e217a2fc1..79b6eb32103 100644
--- a/cpp/src/IceUtil/Random.cpp
+++ b/cpp/src/IceUtil/Random.cpp
@@ -13,8 +13,6 @@
# include <Wincrypt.h>
#else
# include <IceUtil/StaticMutex.h>
-# include <sys/types.h>
-# include <sys/stat.h>
# include <fcntl.h>
# include <unistd.h>
#endif
diff --git a/cpp/src/IceUtil/UUID.cpp b/cpp/src/IceUtil/UUID.cpp
index 77f01bb8bfd..0f1c9a905b8 100644
--- a/cpp/src/IceUtil/UUID.cpp
+++ b/cpp/src/IceUtil/UUID.cpp
@@ -18,6 +18,8 @@
# include <rpc.h>
#else
# include <IceUtil/Random.h>
+# include <sys/types.h>
+# include <unistd.h>
#endif
using namespace std;