summaryrefslogtreecommitdiff
path: root/l10ntools
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2013-05-10 17:42:35 +0200
committerMichael Stahl <mstahl@redhat.com>2013-05-10 17:56:24 +0200
commit09373d45838e4dab514e37dee4a4c8f6218ebda0 (patch)
tree91381d15cb0c7b29072c79a30eee7fd0d8635768 /l10ntools
parent76d098a07bb2f901948d39522954dff6b50adae8 (diff)
soltools: remove Package_inc and empty unistd.h nonsense
Change-Id: Ic05de69951b28b9cc8d62f0a534b507c424e6b25
Diffstat (limited to 'l10ntools')
-rw-r--r--l10ntools/inc/export.hxx3
-rw-r--r--l10ntools/source/cfglex.l1
-rw-r--r--l10ntools/source/srclex.l1
-rw-r--r--l10ntools/source/xrmlex.l1
4 files changed, 5 insertions, 1 deletions
diff --git a/l10ntools/inc/export.hxx b/l10ntools/inc/export.hxx
index d23cc6f29e5e..595c0273fb5f 100644
--- a/l10ntools/inc/export.hxx
+++ b/l10ntools/inc/export.hxx
@@ -36,9 +36,10 @@
#include <queue>
#include <string>
-#include <unistd.h>
#ifdef WNT
#include <direct.h>
+#else
+#include <unistd.h>
#endif
#define NO_TRANSLATE_ISO "x-no-translate"
diff --git a/l10ntools/source/cfglex.l b/l10ntools/source/cfglex.l
index 0ecb31481aa6..a5c698881bfe 100644
--- a/l10ntools/source/cfglex.l
+++ b/l10ntools/source/cfglex.l
@@ -66,6 +66,7 @@ int bText=0;
%option yylineno
%option never-interactive
+%option nounistd
%p 24000
%e 1200
diff --git a/l10ntools/source/srclex.l b/l10ntools/source/srclex.l
index 2826dce5f4ad..0f2195539057 100644
--- a/l10ntools/source/srclex.l
+++ b/l10ntools/source/srclex.l
@@ -68,6 +68,7 @@ void YYWarning();
%option yylineno
%option never-interactive
+%option nounistd
%p 24000
%e 1200
diff --git a/l10ntools/source/xrmlex.l b/l10ntools/source/xrmlex.l
index a2b5c0c3cc66..7f28d3f68a7c 100644
--- a/l10ntools/source/xrmlex.l
+++ b/l10ntools/source/xrmlex.l
@@ -74,6 +74,7 @@ int bText=0;
%option yylineno
%option never-interactive
+%option nounistd
%p 24000
%e 1200