[Tarantool-patches] [PATCH luajit 1/1] build: missed header when -DLUAJIT_DISABLE_JIT=ON

Denis Smirnov sd at picodata.io
Fri Apr 29 06:45:23 MSK 2022


Previously it was impossible to build Lua JIT with disabled JIT
option (-DLUAJIT_DISABLE_JIT=ON flag) because of the missed include.
Fixed.
---
 src/lj_memprof.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/lj_memprof.c b/src/lj_memprof.c
index d4a639fd..4a35613c 100644
--- a/src/lj_memprof.c
+++ b/src/lj_memprof.c
@@ -11,6 +11,7 @@
 #include <errno.h>
 
 #include "lj_arch.h"
+#include "lj_jit.h"
 #include "lj_memprof.h"
 
 #if LJ_HASMEMPROF
-- 
2.32.0 (Apple Git-132)



More information about the Tarantool-patches mailing list