diff options
author | Michael Jones <michaelrj@google.com> | 2024-07-11 11:09:51 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-11 11:09:51 -0700 |
commit | 5aed6d67e3f051262c67e3295476bf13cfc099c4 (patch) | |
tree | 457f1476114d6f448d17d5611de32dc5f16ee971 /libc/src/stdio/gpu/stdout.cpp | |
parent | 05b7b22a2f28f7bdeea61e6e55871c2db4cdab3b (diff) | |
download | llvm-5aed6d67e3f051262c67e3295476bf13cfc099c4.zip llvm-5aed6d67e3f051262c67e3295476bf13cfc099c4.tar.gz llvm-5aed6d67e3f051262c67e3295476bf13cfc099c4.tar.bz2 |
Reland: [libc] Move off_t and stdio macros to proxy hdrs (#98384)
reland of https://github.com/llvm/llvm-project/pull/98215
Additionally adds proxy headers for FILE and the fopencookie types
The arm32 build has been failing due to redefinitions of the off_t type.
This patch fixes this by moving off_t to a proper proxy header. To do
this, it also moves stdio macros to a proxy header to hopefully avoid
including this proxy header alongside this public stdio.h.
Diffstat (limited to 'libc/src/stdio/gpu/stdout.cpp')
-rw-r--r-- | libc/src/stdio/gpu/stdout.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/src/stdio/gpu/stdout.cpp b/libc/src/stdio/gpu/stdout.cpp index abeeff2..fffe137 100644 --- a/libc/src/stdio/gpu/stdout.cpp +++ b/libc/src/stdio/gpu/stdout.cpp @@ -6,7 +6,7 @@ // //===----------------------------------------------------------------------===// -#include <stdio.h> +#include "hdr/types/FILE.h" namespace LIBC_NAMESPACE { static struct { |