diff --git a/xsdconvert/GeneralFunctions.cc b/xsdconvert/GeneralFunctions.cc
index 0cab0805bcf22ae33cc1899f4f437c71a641c3d2..7952f2f01ad7fd37880bf6a6831de1f8454dddff 100644
--- a/xsdconvert/GeneralFunctions.cc
+++ b/xsdconvert/GeneralFunctions.cc
@@ -20,6 +20,7 @@
 #include "SimpleType.hh"
 #include "TTCN3Module.hh"
 #include "ImportStatement.hh"
+#include "converter.hh"
 
 #include <cctype> // for using "toupper" function
 #include <cstring>
diff --git a/xsdconvert/SimpleType.cc b/xsdconvert/SimpleType.cc
index 1d74291bac803615e5b35c573f6c4806b9d0b405..dbc53a083bcfa0ac95b4e08066a8dc66d7361bba 100644
--- a/xsdconvert/SimpleType.cc
+++ b/xsdconvert/SimpleType.cc
@@ -22,6 +22,7 @@
 #include "TTCN3Module.hh"
 #include "ComplexType.hh"
 #include "Constant.hh"
+#include "converter.hh"
 
 #include <math.h>
 #include <cfloat>
diff --git a/xsdconvert/TTCN3Module.cc b/xsdconvert/TTCN3Module.cc
index c7afda528ee4110ea3a7161d7ce710550cc2c975..b503dbedb9e40e4537b4b9c0a7c91ddd5211e34f 100644
--- a/xsdconvert/TTCN3Module.cc
+++ b/xsdconvert/TTCN3Module.cc
@@ -23,6 +23,7 @@
 #include "ImportStatement.hh"
 #include "Annotation.hh"
 #include "Constant.hh"
+#include "converter.hh"
 
 #include "../common/version_internal.h"
 
diff --git a/xsdconvert/TTCN3ModuleInventory.cc b/xsdconvert/TTCN3ModuleInventory.cc
index 465eae546c6e36aab52cfee23e69f3defc95c74b..bed82138be9aae783a214171c7849694219570ea 100644
--- a/xsdconvert/TTCN3ModuleInventory.cc
+++ b/xsdconvert/TTCN3ModuleInventory.cc
@@ -23,6 +23,7 @@
 #include "SimpleType.hh"
 #include "ComplexType.hh"
 #include "Constant.hh"
+#include "converter.hh"
 
 extern bool h_flag_used;
 extern bool q_flag_used;
diff --git a/xsdconvert/XMLParser.cc b/xsdconvert/XMLParser.cc
index e3f8a0f8314bff4b4006b1e65b6560de9e71f19b..17842852c0b0f70ec33d94f2b5bd8a76f39074d3 100644
--- a/xsdconvert/XMLParser.cc
+++ b/xsdconvert/XMLParser.cc
@@ -17,6 +17,7 @@
 #include "TTCN3Module.hh"
 #include "SimpleType.hh"
 #include "ComplexType.hh"
+#include "converter.hh"
 
 #include "GeneralFunctions.hh"
 
diff --git a/xsdconvert/converter.cc b/xsdconvert/converter.cc
index d4b0fbb90596a7fa68f44c56a6de5d14c4a6a77a..0cb2ac44ced2f572aa1cd23672c0a3931622ecd3 100644
--- a/xsdconvert/converter.cc
+++ b/xsdconvert/converter.cc
@@ -28,6 +28,8 @@
 #include <unistd.h> // for using "getopt" function
 #include <sys/stat.h>
 
+#include "converter.hh"
+
 bool c_flag_used = false;
 int  d_flag_used = 0;
 bool e_flag_used = false;
diff --git a/xsdconvert/converter.hh b/xsdconvert/converter.hh
new file mode 100644
index 0000000000000000000000000000000000000000..ecd2fdfce81d035ad916fc121a31f854861cc0ce
--- /dev/null
+++ b/xsdconvert/converter.hh
@@ -0,0 +1,33 @@
+/******************************************************************************
+ * Copyright (c) 2000-2017 Ericsson Telecom AB
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ *   Szabo, Bence Janos
+ *
+ ******************************************************************************/
+ 
+#ifndef CONVERTER_HH_
+#define CONVERTER_HH_
+
+extern bool c_flag_used;
+extern int  d_flag_used;
+extern bool e_flag_used;
+extern bool f_flag_used; // also J flag
+extern bool g_flag_used;
+extern bool h_flag_used;
+extern bool m_flag_used;
+extern bool n_flag_used; // Undocumented. Internal use only with makefilegen
+extern bool p_flag_used;
+extern bool s_flag_used;
+extern bool t_flag_used;
+extern bool q_flag_used;
+extern bool w_flag_used;
+extern bool x_flag_used;
+extern bool z_flag_used;
+
+
+#endif /* CONVERTER_HH_ */
\ No newline at end of file