aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRebecca Turner <rbt@sent.as>2024-03-09 14:00:58 -0800
committerRebecca Turner <rbt@sent.as>2024-03-15 13:39:32 -0700
commit7abbce500b21e0c535c40dcdcae44ebae40ab27d (patch)
tree15dddae87b384399e332807e46dee9bdad5d78f6
parent0d85875c3a4284dabad79069758a9056898c42dc (diff)
Fix `gc-small-vector.hh` includes
Change-Id: I4abc19029fb62712582761d4fc1895156b68803d
-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
+}