aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrbt <rbt@sent.as>2024-03-15 16:20:40 -0600
committerGerrit Code Review <gerrit@lix>2024-03-15 16:20:40 -0600
commite257ff10fd318a698feebdc2198f45f6af4e3458 (patch)
tree4a2ad1e8f481e81ab1d82d898a904b2acd305ee8
parent3c5234430083784b0c5eabba8db7431c27a72505 (diff)
parent7abbce500b21e0c535c40dcdcae44ebae40ab27d (diff)
Merge "Fix `gc-small-vector.hh` includes" into main
-rw-r--r--src/libexpr/gc-small-vector.hh3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libexpr/gc-small-vector.hh b/src/libexpr/gc-small-vector.hh
index 7f4f08fc7..94c3ad28b 100644
--- a/src/libexpr/gc-small-vector.hh
+++ b/src/libexpr/gc-small-vector.hh
@@ -4,6 +4,7 @@
#if HAVE_BOEHMGC
+#define GC_INCLUDE_NEW
#include <gc/gc.h>
#include <gc/gc_cpp.h>
#include <gc/gc_allocator.h>
@@ -39,4 +40,4 @@ using SmallValueVector = SmallVector<Value *, nItems>;
template <size_t nItems>
using SmallTemporaryValueVector = SmallVector<Value, nItems>;
-} \ No newline at end of file
+}