Skip to content

[libc] small fix for overlay mode build #101724

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 2, 2024

Conversation

SchrodingerZhu
Copy link
Contributor

No description provided.

@SchrodingerZhu SchrodingerZhu requested a review from lntue August 2, 2024 17:36
@llvmbot llvmbot added the libc label Aug 2, 2024
@llvmbot
Copy link
Member

llvmbot commented Aug 2, 2024

@llvm/pr-subscribers-libc

Author: Schrodinger ZHU Yifan (SchrodingerZhu)

Changes

Full diff: https://github.com/llvm/llvm-project/pull/101724.diff

1 Files Affected:

  • (modified) libc/src/__support/threads/identifier.h (+1)
diff --git a/libc/src/__support/threads/identifier.h b/libc/src/__support/threads/identifier.h
index 5103c11f6eb86..a570abfd5dc73 100644
--- a/libc/src/__support/threads/identifier.h
+++ b/libc/src/__support/threads/identifier.h
@@ -15,6 +15,7 @@
 
 #include "hdr/types/pid_t.h"
 #include "src/__support/OSUtil/syscall.h"
+#include "src/__support/macros/optimization.h"
 #include <sys/syscall.h>
 
 namespace LIBC_NAMESPACE_DECL {

@SchrodingerZhu
Copy link
Contributor Author

merge as this should be a small fix.

@SchrodingerZhu SchrodingerZhu merged commit e14356a into llvm:main Aug 2, 2024
6 of 7 checks passed
@SchrodingerZhu SchrodingerZhu deleted the libc/fix-build-2 branch August 2, 2024 17:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants