From 7206f05586b8190e26e392eaa9e74ab3cf9f9c60 Mon Sep 17 00:00:00 2001 From: Ben Gamari Date: Fri, 1 Apr 2022 13:04:27 -0400 Subject: rts/CloneStack: Ensure that Rts.h is #included first As is necessary on Windows. --- rts/CloneStack.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'rts/CloneStack.c') diff --git a/rts/CloneStack.c b/rts/CloneStack.c index d9f5fd8725..1ece19dc61 100644 --- a/rts/CloneStack.c +++ b/rts/CloneStack.c @@ -6,8 +6,6 @@ * *---------------------------------------------------------------------------*/ -#include - #include "Rts.h" #include "rts/Messages.h" #include "Messages.h" @@ -24,6 +22,8 @@ #include "Printer.h" #endif +#include + static StgStack* cloneStackChunk(Capability* capability, const StgStack* stack) { StgWord spOffset = stack->sp - stack->stack; -- cgit v1.2.1