[libcxx-commits] [PATCH] D122570: [libcxx] [test] Include header for strverscmp
Jonathan Wakely via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Mar 28 04:13:41 PDT 2022
jwakely created this revision.
jwakely added a reviewer: ldionne.
jwakely added a project: libc++.
Herald added a project: All.
jwakely requested review of this revision.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D122570
Files:
libcxx/test/support/platform_support.h
Index: libcxx/test/support/platform_support.h
===================================================================
--- libcxx/test/support/platform_support.h
+++ libcxx/test/support/platform_support.h
@@ -42,6 +42,10 @@
# include <unistd.h> // close
#endif
+#if defined(_CS_GNU_LIBC_VERSION)
+# include <string.h>
+#endif
+
#if defined(_NEWLIB_VERSION) && defined(__STRICT_ANSI__)
// Newlib provides this, but in the header it's under __STRICT_ANSI__
extern "C" {
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D122570.418539.patch
Type: text/x-patch
Size: 472 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20220328/d9c6593b/attachment.bin>
More information about the libcxx-commits
mailing list