[libc-commits] [PATCH] D149075: [libc][Obvious] Add include.stdlib as missing dep for CPP.string.
Siva Chandra via Phabricator via libc-commits
libc-commits at lists.llvm.org
Mon Apr 24 09:42:30 PDT 2023
sivachandra created this revision.
sivachandra added a reviewer: jhuber6.
Herald added subscribers: libc-commits, ecnelises, tschuett.
Herald added projects: libc-project, All.
sivachandra requested review of this revision.
string.h includes stdlib.h to get free and realloc. This change
adds the missing dep on stdlib.h.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D149075
Files:
libc/src/__support/CPP/CMakeLists.txt
Index: libc/src/__support/CPP/CMakeLists.txt
===================================================================
--- libc/src/__support/CPP/CMakeLists.txt
+++ libc/src/__support/CPP/CMakeLists.txt
@@ -60,6 +60,7 @@
HDRS
string.h
DEPENDS
+ libc.include.stdlib
.string_view
libc.src.__support.common
libc.src.__support.integer_to_string
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D149075.516444.patch
Type: text/x-patch
Size: 364 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20230424/12c8959d/attachment.bin>
More information about the libc-commits
mailing list