[libcxx-commits] [PATCH] D122570: [libcxx] [test] Include header for strverscmp
Benjamin Kramer via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Wed May 18 05:37:25 PDT 2022
This revision was automatically updated to reflect the committed changes.
Closed by commit rG46d9a6ebd615: [libcxx] [test] Include header for strverscmp (authored by jwakely, committed by bkramer).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D122570/new/
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
@@ -45,6 +45,10 @@
# include <unistd.h> // close
#endif
+#if defined(_CS_GNU_LIBC_VERSION)
+# include <string.h> // strverscmp
+#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.430348.patch
Type: text/x-patch
Size: 486 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20220518/c430455e/attachment.bin>
More information about the libcxx-commits
mailing list