]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Darwin, crts: Fix a build warning.
authorIain Sandoe <iain@sandoe.co.uk>
Mon, 1 Nov 2021 16:58:20 +0000 (16:58 +0000)
committerIain Sandoe <iain@sandoe.co.uk>
Sun, 21 May 2023 18:58:14 +0000 (19:58 +0100)
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 <iain@sandoe.co.uk>
(cherry picked from commit 7a300b413a62e1989bd89064fd5594aabe371d3a)

libgcc/config/darwin10-unwind-find-enc-func.c

index 67c43757e50bff75622d65e06617c43e59e11db9..882ec3a2372fad23b92900915d29914c553cfc74 100644 (file)
@@ -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)