[libc-commits] [libc] 04ab8a5 - [libc] Fix the GPU build after scanf rework
Joseph Huber via libc-commits
libc-commits at lists.llvm.org
Tue Mar 18 10:09:37 PDT 2025
Author: Joseph Huber
Date: 2025-03-18T12:09:30-05:00
New Revision: 04ab8a5fba71f7ec65634cc118dc13798a9037fc
URL: https://github.com/llvm/llvm-project/commit/04ab8a5fba71f7ec65634cc118dc13798a9037fc
DIFF: https://github.com/llvm/llvm-project/commit/04ab8a5fba71f7ec65634cc118dc13798a9037fc.diff
LOG: [libc] Fix the GPU build after scanf rework
Summary:
Needs these to be included.
Added:
Modified:
libc/src/stdio/scanf_core/vfscanf_internal.h
Removed:
################################################################################
diff --git a/libc/src/stdio/scanf_core/vfscanf_internal.h b/libc/src/stdio/scanf_core/vfscanf_internal.h
index 1ff722b3bc8ac..eabfbd46a9e0a 100644
--- a/libc/src/stdio/scanf_core/vfscanf_internal.h
+++ b/libc/src/stdio/scanf_core/vfscanf_internal.h
@@ -18,6 +18,8 @@
#if defined(LIBC_TARGET_ARCH_IS_GPU)
#include "src/stdio/ferror.h"
+#include "src/stdio/getc.h"
+#include "src/stdio/ungetc.h"
#endif
#include "hdr/types/FILE.h"
More information about the libc-commits
mailing list