summaryrefslogtreecommitdiff
path: root/codemaker
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2014-10-31 07:39:30 +0100
committerMichael Stahl <mstahl@redhat.com>2014-10-31 16:18:30 +0000
commitc70f1545e2df5818f251b558dcc64a83d3c270d3 (patch)
tree1834970b131e07697f88d38dd9e2fb0f756d0f3d /codemaker
parent693014c9d3dcbf3c649d775143918e531b6e3ac0 (diff)
Removed duplicated includes
Change-Id: I5362d997bfa086c9fb1726efcb15132a966684f6 Reviewed-on: https://gerrit.libreoffice.org/12160 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'codemaker')
-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"