Make sure polarssl/config.h is included at the start
(cherry picked from commit 9691bbe9b32fead5d5268f171d1e185f61a43ac3)
diff --git a/tests/scripts/generate_code.pl b/tests/scripts/generate_code.pl
index 366514e..75d741d 100755
--- a/tests/scripts/generate_code.pl
+++ b/tests/scripts/generate_code.pl
@@ -49,6 +49,7 @@
open(TEST_FILE, ">$test_file") or die "Opening destination file '$test_file': $!";
print TEST_FILE << "END";
#include "fct.h"
+#include <polarssl/config.h>
$suite_header
diff --git a/tests/suites/helpers.function b/tests/suites/helpers.function
index 208e7e6..c4c1790 100644
--- a/tests/suites/helpers.function
+++ b/tests/suites/helpers.function
@@ -1,5 +1,3 @@
-#include <polarssl/config.h>
-
#ifdef _MSC_VER
#include <basetsd.h>
typedef UINT32 uint32_t;