From fe9fcf9d8675d4d621493ec64b585d928e158edb Mon Sep 17 00:00:00 2001
From: Sylvain Henry <sylvain@haskus.fr>
Date: Mon, 28 Aug 2023 13:50:28 +0200
Subject: [PATCH] ghc-heap: rename C file (fix #23898)

---
 libraries/ghc-heap/cbits/{Stack.c => Stack_c.c} | 0
 libraries/ghc-heap/ghc-heap.cabal.in            | 2 +-
 2 files changed, 1 insertion(+), 1 deletion(-)
 rename libraries/ghc-heap/cbits/{Stack.c => Stack_c.c} (100%)

diff --git a/libraries/ghc-heap/cbits/Stack.c b/libraries/ghc-heap/cbits/Stack_c.c
similarity index 100%
rename from libraries/ghc-heap/cbits/Stack.c
rename to libraries/ghc-heap/cbits/Stack_c.c
diff --git a/libraries/ghc-heap/ghc-heap.cabal.in b/libraries/ghc-heap/ghc-heap.cabal.in
index 2135996cd9c9..f4cb2dee2f9a 100644
--- a/libraries/ghc-heap/ghc-heap.cabal.in
+++ b/libraries/ghc-heap/ghc-heap.cabal.in
@@ -31,7 +31,7 @@ library
   if !os(ghcjs)
     cmm-sources:      cbits/HeapPrim.cmm
                       cbits/Stack.cmm
-  c-sources:        cbits/Stack.c
+  c-sources:        cbits/Stack_c.c
 
   default-extensions: NoImplicitPrelude
 
-- 
GitLab