Back to shtanton's homepage
summaryrefslogtreecommitdiff
path: root/src/types.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/types.c')
-rw-r--r--src/types.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/types.c b/src/types.c
index cbd9315..fd8f9ee 100644
--- a/src/types.c
+++ b/src/types.c
@@ -1,3 +1,6 @@
+#ifndef INCLUDE_TYPES_C
+#define INCLUDE_TYPES_C
+
#include "all.c"
#define MEM_SIZE (1<<24)
@@ -106,3 +109,5 @@ static void *alloc(Arena *a, ptrdiff_t count, ptrdiff_t size, ptrdiff_t align) {
return r;
}
+
+#endif // INCLUDE_TYPES_C