<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">From 11d2c65456a71762744d2ffce321579249c70752 Mon Sep 17 00:00:00 2001
From: Fabian Groffen &lt;grobian@gentoo.org&gt;
Date: Sat, 19 Dec 2020 16:38:36 +0100
Subject: [PATCH] [ld64] unwinddump: include stdlib for exit(3)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Fix warning
../darwin-xtools/ld64/src/other/unwinddump.cpp:1174:6:
error: â€˜exitâ€™ was not declared in this scope; did you mean â€˜_exitâ€™?

Signed-off-by: Fabian Groffen &lt;grobian@gentoo.org&gt;
---
 ld64/src/other/unwinddump.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git ld64/src/other/unwinddump.cpp ld64/src/other/unwinddump.cpp
index d77e5d9..168ea67 100644
--- ld64/src/other/unwinddump.cpp
+++ ld64/src/other/unwinddump.cpp
@@ -27,6 +27,7 @@
 #include &lt;sys/mman.h&gt;
 #include &lt;stdarg.h&gt;
 #include &lt;stdio.h&gt;
+#include &lt;stdlib.h&gt;
 #include &lt;fcntl.h&gt;
 #include &lt;unistd.h&gt;
 #include &lt;errno.h&gt;
-- 
2.38.1

</pre></body></html>