[libc-commits] [libc] [libc] Correct include path for wchar_utils.h in libc/src/wchar/wcspbrk.cpp (PR #151059)

Jin Huang via libc-commits libc-commits at lists.llvm.org
Mon Jul 28 16:50:31 PDT 2025


https://github.com/jinhuang1102 created https://github.com/llvm/llvm-project/pull/151059

A previous change incorrectly included `wchar_util.h` using a broken relative path. This change corrects the path to `#include "src/wchar/wchar_utils.h"`.

>From e793aded39edc5755af593bd5d492895cadaba88 Mon Sep 17 00:00:00 2001
From: Jin Huang <jinhuang1102 at gmail.com>
Date: Mon, 28 Jul 2025 22:30:26 +0000
Subject: [PATCH] libc: Fix the include path error in wcspbrk.cpp

---
 libc/src/wchar/wcspbrk.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libc/src/wchar/wcspbrk.cpp b/libc/src/wchar/wcspbrk.cpp
index 5d86a494bdf39..f329b73f9ee70 100644
--- a/libc/src/wchar/wcspbrk.cpp
+++ b/libc/src/wchar/wcspbrk.cpp
@@ -11,7 +11,7 @@
 #include "hdr/types/wchar_t.h"
 #include "src/__support/common.h"
 #include "src/__support/macros/null_check.h"
-#include "wchar_utils.h"
+#include "src/wchar/wchar_utils.h"
 
 namespace LIBC_NAMESPACE_DECL {
 



More information about the libc-commits mailing list