From 9d744b3e6ef947fe75ed4c145c56eec74b329d7d Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sat, 25 May 2024 13:04:59 -0400 Subject: Include tweak --- tomo.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tomo.c b/tomo.c index c2a82d3a..47ad5836 100644 --- a/tomo.c +++ b/tomo.c @@ -270,7 +270,10 @@ int transpile(const char *filename, bool force_retranspile, module_code_t *modul FILE *c_file = fopen(c_filename, "w"); if (!c_file) errx(1, "Couldn't open file: %s", c_filename); - CORD_put(CORD_all("#include \"", module_code->module_name, ".tm.h\"\n\n", module_code->c_file), c_file); + CORD_put(CORD_all( + "#include \n" + "#include \"", module_code->module_name, ".tm.h\"\n\n", + module_code->c_file), c_file); if (fclose(c_file)) errx(1, "Failed to close file: %s", c_filename); if (verbose) -- cgit v1.2.3