[libc-commits] [libc] [libc] Use correct include path for in_port_t.h (PR #197187)

via libc-commits libc-commits at lists.llvm.org
Tue May 12 06:14:58 PDT 2026


llvmorg-github-actions[bot] wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-libc

Author: Aiden Grossman (boomanaiden154)

<details>
<summary>Changes</summary>

llvm-libc-types/stdint-macros.h does not exist. Not sure why this was passing the CMake build, but this causes the bazel build to fail.

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


1 Files Affected:

- (modified) libc/include/llvm-libc-types/in_port_t.h (+1-1) 


``````````diff
diff --git a/libc/include/llvm-libc-types/in_port_t.h b/libc/include/llvm-libc-types/in_port_t.h
index daf33f91d95af..f86c39cb34e8d 100644
--- a/libc/include/llvm-libc-types/in_port_t.h
+++ b/libc/include/llvm-libc-types/in_port_t.h
@@ -9,7 +9,7 @@
 #ifndef LLVM_LIBC_TYPES_IN_PORT_T_H
 #define LLVM_LIBC_TYPES_IN_PORT_T_H
 
-#include "../llvm-libc-types/stdint-macros.h"
+#include "../llvm-libc-macros/stdint-macros.h"
 
 typedef uint16_t in_port_t;
 

``````````

</details>


https://github.com/llvm/llvm-project/pull/197187


More information about the libc-commits mailing list