Skip to content

Commit 2afc562

Browse files
author
Job Henandez Lara
authored
[libc] add stdlib.h header to the _Exit func proxy in full build (#114718)
1 parent 74b56c7 commit 2afc562

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

libc/hdr/func/_Exit.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
#define LLVM_LIBC_HDR_FUNC_EXIT_H
1111

1212
#ifdef LIBC_FULL_BUILD
13-
extern "C" void _Exit(int);
13+
// We will use the `_Exit` declaration from our generated stdlib.h
14+
#include <stdlib.h>
1415

1516
#else // Overlay mode
1617

0 commit comments

Comments
 (0)