From e76245f8e93ab100c601cdc7c2735c92fff04247 Mon Sep 17 00:00:00 2001 From: Pierre Bourdon Date: Tue, 23 Jul 2024 00:50:09 +0200 Subject: [PATCH] libexpr/gc-alloc: fix compilation with !HAVE_BOEHMGC Fixes: 72ee25b4025257fdaab7b8e8d5d1ccc83858fdab Change-Id: Ib59386af1415a8ed4b53af24ec22a4ffa5e5877d --- src/libexpr/gc-alloc.hh | 4 ++-- 1 file 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 #include +#include "checked-arithmetic.hh" + #if HAVE_BOEHMGC #include // std::less #include // std::pair @@ -18,8 +20,6 @@ #include #include -#include "checked-arithmetic.hh" - /// calloc, transparently GC-enabled. #define LIX_GC_CALLOC(size) GC_MALLOC(size)