Sync with 5.2.0
[deliverable/titan.core.git] / compiler2 / ttcn3 / compiler.c
index 9f8675b1858e460d4c7e959125f29716a84aa805..ce428baaa8ddc657992c0bee38d3f71a230926fb 100644 (file)
@@ -310,6 +310,10 @@ void write_output(output_struct *output, const char *module_name,
        COPYRIGHT_STRING "\n\n"
        "// Do not edit this file unless you know what you are doing.\n",
        is_ttcn ? "TTCN-3" : "ASN.1", user_info);
+    
+    if (profiler_enabled) {
+      output->source.includes = mputstr(output->source.includes, "#include \"Profiler.hh\"\n");
+    }
 
     if (output->source.includes != NULL) {
        fputs("\n/* Including header files */\n\n", fp);
This page took 0.048313 seconds and 5 git commands to generate.