FreeBSD QuickJS Patch (#203)

This commit is contained in:
Nick Vatamaniuc
2024-02-12 05:28:00 -05:00
committed by GitHub
parent ae6fa8d3d2
commit 636c946531
3 changed files with 19 additions and 1 deletions

2
qjs.c
View File

@@ -36,6 +36,8 @@
#include <malloc/malloc.h>
#elif defined(__linux__)
#include <malloc.h>
#elif defined(__FreeBSD__)
#include <malloc_np.h>
#endif
#include "cutils.h"