aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2025-01-25 17:33:19 +0000
committerMichael Williamson <mike@zwobble.org>2025-01-25 17:33:19 +0000
commit63c7aed6104192418ca8f44a1f8c039b5360ad99 (patch)
tree8f96194f3d91e0f7d03d96c37fb7dc7406ad65e4 /src/main/java
parente8998e3755abeb01811016b183c0e768950c72cf (diff)
Change include path for shed.h
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/org/shedlang/compiler/backends/PatioNativeCHeadersBackend.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/shedlang/compiler/backends/PatioNativeCHeadersBackend.java b/src/main/java/org/shedlang/compiler/backends/PatioNativeCHeadersBackend.java
index caa84cfc..4f15c33d 100644
--- a/src/main/java/org/shedlang/compiler/backends/PatioNativeCHeadersBackend.java
+++ b/src/main/java/org/shedlang/compiler/backends/PatioNativeCHeadersBackend.java
@@ -93,7 +93,7 @@ public class PatioNativeCHeadersBackend implements Backend {
// TODO: path to header file? Use angle brackets?
builder.append(String.format("#ifndef %s\n", macroName));
builder.append(String.format("#define %s\n\n", macroName));
- builder.append("#include \"shed.h\"\n\n");
+ builder.append("#include \"shed/shed.h\"\n\n");
for (var element : patioCompilationUnit.elements()) {
if (element instanceof PatioFunctionDeclaration patioFunctionDeclaration) {
// TODO: pass this information through rather than having to inspect the string?