[libc-commits] [libc] [libc] fixup missing include for fullbuild (PR #87266)
via libc-commits
libc-commits at lists.llvm.org
Mon Apr 1 10:23:01 PDT 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-libc
Author: Nick Desaulniers (nickdesaulniers)
<details>
<summary>Changes</summary>
Fixes #<!-- -->86928
---
Full diff: https://github.com/llvm/llvm-project/pull/87266.diff
2 Files Affected:
- (modified) libc/src/stdio/fseeko.h (+1)
- (modified) libc/src/stdio/ftello.h (+1)
``````````diff
diff --git a/libc/src/stdio/fseeko.h b/libc/src/stdio/fseeko.h
index 77fb41215c318f..3202ed2f97d0ef 100644
--- a/libc/src/stdio/fseeko.h
+++ b/libc/src/stdio/fseeko.h
@@ -10,6 +10,7 @@
#define LLVM_LIBC_SRC_STDIO_FSEEKO_H
#include <stdio.h>
+#include <unistd.h>
namespace LIBC_NAMESPACE {
diff --git a/libc/src/stdio/ftello.h b/libc/src/stdio/ftello.h
index 5ab17f9244a5ad..0fdf13ab6bdbcd 100644
--- a/libc/src/stdio/ftello.h
+++ b/libc/src/stdio/ftello.h
@@ -10,6 +10,7 @@
#define LLVM_LIBC_SRC_STDIO_FTELLO_H
#include <stdio.h>
+#include <unistd.h>
namespace LIBC_NAMESPACE {
``````````
</details>
https://github.com/llvm/llvm-project/pull/87266
More information about the libc-commits
mailing list