[libc-commits] [libc] [libc] fix generic __stack_check_fail for fuchsia (PR #121401)
Tristan Ross via libc-commits
libc-commits at lists.llvm.org
Tue Dec 31 07:54:19 PST 2024
https://github.com/RossComputerGuy created https://github.com/llvm/llvm-project/pull/121401
Fixes this build: https://lab.llvm.org/buildbot/#/builders/11/builds/10339/steps/6/logs/stdio after #121121 was merged.
>From 9889601e2d07f2c2342786f6e0fb226a25d76bdc Mon Sep 17 00:00:00 2001
From: Tristan Ross <tristan.ross at midstall.com>
Date: Tue, 31 Dec 2024 07:53:16 -0800
Subject: [PATCH] [libc] fix generic __stack_check_fail for fuchsia
---
libc/src/compiler/generic/__stack_chk_fail.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/libc/src/compiler/generic/__stack_chk_fail.cpp b/libc/src/compiler/generic/__stack_chk_fail.cpp
index 183cf9eb2cbf23..00e976ad8bc2a1 100644
--- a/libc/src/compiler/generic/__stack_chk_fail.cpp
+++ b/libc/src/compiler/generic/__stack_chk_fail.cpp
@@ -9,6 +9,7 @@
#include "src/compiler/__stack_chk_fail.h"
#include "src/__support/OSUtil/io.h"
#include "src/stdlib/abort.h"
+#include <stdint.h> // For uintptr_t
extern "C" {
More information about the libc-commits
mailing list