From 915a5ba6aa5d930f73069bdc0929047b9e616320 Mon Sep 17 00:00:00 2001
From: Artem Pelenitsyn <a.pelenitsyn@gmail.com>
Date: Fri, 26 Aug 2022 17:36:36 -0400
Subject: [PATCH] fix probable Windows FFI test issue

---
 cabal-testsuite/PackageTests/ForeignLibs/UseLib.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cabal-testsuite/PackageTests/ForeignLibs/UseLib.c b/cabal-testsuite/PackageTests/ForeignLibs/UseLib.c
index 2ed882fe9a..5441e469bd 100644
--- a/cabal-testsuite/PackageTests/ForeignLibs/UseLib.c
+++ b/cabal-testsuite/PackageTests/ForeignLibs/UseLib.c
@@ -4,7 +4,7 @@
 /* Forward declarations */
 bool myForeignLibInit();
 void myForeignLibExit();
-void sayHi();
+extern void sayHi();
 
 int main()
 {
-- 
GitLab