From: Jonathan Wakely Date: Wed, 18 May 2022 12:36:20 +0000 (+0200) Subject: [libcxx] [test] Include header for strverscmp X-Git-Tag: upstream/15.0.7~7379 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=46d9a6ebd6155900e26cf036fcc312d1e1e10d3f;p=platform%2Fupstream%2Fllvm.git [libcxx] [test] Include header for strverscmp Reviewed By: ldionne, #libc Differential Revision: https://reviews.llvm.org/D122570 --- diff --git a/libcxx/test/support/platform_support.h b/libcxx/test/support/platform_support.h index ce7a04b..1ceb7b1 100644 --- a/libcxx/test/support/platform_support.h +++ b/libcxx/test/support/platform_support.h @@ -45,6 +45,10 @@ # include // close #endif +#if defined(_CS_GNU_LIBC_VERSION) +# include // strverscmp +#endif + #if defined(_NEWLIB_VERSION) && defined(__STRICT_ANSI__) // Newlib provides this, but in the header it's under __STRICT_ANSI__ extern "C" {