summaryrefslogtreecommitdiffstats
path: root/registry/source
diff options
context:
space:
mode:
Diffstat (limited to 'registry/source')
-rw-r--r--registry/source/regimpl.cxx2
-rw-r--r--registry/source/registry.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/registry/source/regimpl.cxx b/registry/source/regimpl.cxx
index cfb867f1eb88..0bd28d0a2fb8 100644
--- a/registry/source/regimpl.cxx
+++ b/registry/source/regimpl.cxx
@@ -35,7 +35,7 @@
#include <string.h>
#include <stdio.h>
-#if defined(UNX) || defined(OS2)
+#if defined(UNX)
#include <unistd.h>
#endif
#ifdef __MINGW32__
diff --git a/registry/source/registry.cxx b/registry/source/registry.cxx
index 042e8ec17c44..d61fa32a4b5e 100644
--- a/registry/source/registry.cxx
+++ b/registry/source/registry.cxx
@@ -37,7 +37,7 @@
#include "regimpl.hxx"
#include "regkey.hxx"
-#if defined(WIN32) || defined(WNT) || defined(OS2)
+#if defined(WIN32) || defined(WNT)
#include <io.h>
#endif