From 13cea2625edaeedd965f56986bb8eede70057006 Mon Sep 17 00:00:00 2001 From: Iain Sandoe Date: Mon, 1 Nov 2021 16:58:20 +0000 Subject: [PATCH] Darwin, crts: Fix a build warning. We have a shim crt for Darwin10 that implements functionality missing in libSystem. Provide this with a prototype to silence the warning about this. libgcc/ChangeLog: * config/darwin10-unwind-find-enc-func.c: Include libgcc_tm.h. Signed-off-by: Iain Sandoe (cherry picked from commit 7a300b413a62e1989bd89064fd5594aabe371d3a) --- libgcc/config/darwin10-unwind-find-enc-func.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libgcc/config/darwin10-unwind-find-enc-func.c b/libgcc/config/darwin10-unwind-find-enc-func.c index 67c43757e50b..882ec3a2372f 100644 --- a/libgcc/config/darwin10-unwind-find-enc-func.c +++ b/libgcc/config/darwin10-unwind-find-enc-func.c @@ -1,6 +1,7 @@ #include "tconfig.h" #include "tsystem.h" #include "unwind-dw2-fde.h" +#include "libgcc_tm.h" void * _darwin10_Unwind_FindEnclosingFunction (void *pc) -- 2.47.2