From 383586fdccff93c25e6065032991c474f9dc3795 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Thu, 21 Mar 2024 13:38:52 -0400 Subject: Fix relative import of own header file --- tomo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tomo.c b/tomo.c index b60ea8ff..dfe5afec 100644 --- a/tomo.c +++ b/tomo.c @@ -214,7 +214,7 @@ int transpile(const char *filename, bool force_retranspile) CORD_put(module.header, out); pclose(out); out = popen(heap_strf("%s | bat -P --file-name=%s.c", autofmt, f->filename), "w"); - CORD_put(CORD_all("#include \"", f->filename, "\"\n\n", module.c_file), out); + CORD_put(CORD_all("#include \"", module.module_name, ".tm.h\"\n\n", module.c_file), out); pclose(out); } -- cgit v1.2.3