aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2020-03-19 15:36:13 +0000
committergingerBill <bill@gingerbill.org>2020-03-19 15:36:13 +0000
commit8093062e3b58af6124f75161be110a4eccef7b54 (patch)
tree7156532b79b44c2dc4a627731ee6222d7ba084fb /src/main.cpp
parent9524739dfc65e6ce5451575751959fb1188ba488 (diff)
Wrap all LLVM C includes
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index caad1c901..46364d8d6 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -10,6 +10,10 @@
gb_global Timings global_timings = {0};
+#if defined(LLVM_BACKEND_SUPPORT)
+#include "llvm-c/Types.h"
+#endif
+
#include "parser.hpp"
#include "checker.hpp"