aboutsummaryrefslogtreecommitdiff
path: root/vm
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2023-10-23 04:30:50 +0100
committerAryadev Chavali <aryadev@aryadevchavali.com>2023-10-23 04:46:09 +0100
commit42ac28d44ac7e1f102e9ba37fa91923e822e47df (patch)
treed400f2af604ff37453f7d8e357b368e63ff74f78 /vm
parent0ac634a9bec04934398a431bfc1b9a7a27561f0c (diff)
downloadovm-42ac28d44ac7e1f102e9ba37fa91923e822e47df.tar.gz
ovm-42ac28d44ac7e1f102e9ba37fa91923e822e47df.tar.bz2
ovm-42ac28d44ac7e1f102e9ba37fa91923e822e47df.zip
Make root directory an include path, set #include's properly
Easier to write includes now just using < with the module name, in comparison to using relative paths.
Diffstat (limited to 'vm')
-rw-r--r--vm/inst.h4
-rw-r--r--vm/runtime.h1
2 files changed, 2 insertions, 3 deletions
diff --git a/vm/inst.h b/vm/inst.h
index 5882e4f..935f722 100644
--- a/vm/inst.h
+++ b/vm/inst.h
@@ -16,8 +16,8 @@
#include <stdio.h>
#include <stdlib.h>
-#include "../lib/base.h"
-#include "../lib/darr.h"
+#include <lib/base.h>
+#include <lib/darr.h>
typedef enum
{
diff --git a/vm/runtime.h b/vm/runtime.h
index 03cd21f..316b4c6 100644
--- a/vm/runtime.h
+++ b/vm/runtime.h
@@ -16,7 +16,6 @@
#include <stdio.h>
#include <stdlib.h>
-#include "../lib/base.h"
#include "./inst.h"
typedef enum