summaryrefslogtreecommitdiff
path: root/codemaker/source/codemaker/global.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'codemaker/source/codemaker/global.cxx')
-rw-r--r--codemaker/source/codemaker/global.cxx13
1 files changed, 6 insertions, 7 deletions
diff --git a/codemaker/source/codemaker/global.cxx b/codemaker/source/codemaker/global.cxx
index eeb58f8a5b73..6b15abb5b2a1 100644
--- a/codemaker/source/codemaker/global.cxx
+++ b/codemaker/source/codemaker/global.cxx
@@ -24,17 +24,16 @@
#include "osl/file.hxx"
#include <string.h>
-#if defined(SAL_W32)
-#include <io.h>
-
-#include <direct.h>
#include <errno.h>
+
+#if defined(SAL_W32)
+# include <io.h>
+# include <direct.h>
#endif
#ifdef UNX
-#include <sys/stat.h>
-#include <errno.h>
-#include <unistd.h>
+# include <sys/stat.h>
+# include <unistd.h>
#endif
#include "codemaker/global.hxx"