diff options
author | Pierre Bourdon <delroth@gmail.com> | 2024-07-22 23:14:59 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@localhost> | 2024-07-22 23:14:59 +0000 |
commit | 73c013a5df09a9edf7a6d2fa0be8349d89f856cd (patch) | |
tree | 7805c6bb7e034c7025d1344346c563769632e6d9 | |
parent | 472ff1b8338fe277a00fe20483bd74ec0d38cae8 (diff) | |
parent | e76245f8e93ab100c601cdc7c2735c92fff04247 (diff) |
Merge "libexpr/gc-alloc: fix compilation with !HAVE_BOEHMGC" into main
-rw-r--r-- | src/libexpr/gc-alloc.hh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libexpr/gc-alloc.hh b/src/libexpr/gc-alloc.hh index 04ac28ea8..fc034045f 100644 --- a/src/libexpr/gc-alloc.hh +++ b/src/libexpr/gc-alloc.hh @@ -10,6 +10,8 @@ #include <string_view> #include <vector> +#include "checked-arithmetic.hh" + #if HAVE_BOEHMGC #include <functional> // std::less #include <utility> // std::pair @@ -18,8 +20,6 @@ #include <gc/gc_allocator.h> #include <gc/gc_cpp.h> -#include "checked-arithmetic.hh" - /// calloc, transparently GC-enabled. #define LIX_GC_CALLOC(size) GC_MALLOC(size) |