aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/libexpr/gc-alloc.hh4
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)