From 46d9a6ebd6155900e26cf036fcc312d1e1e10d3f Mon Sep 17 00:00:00 2001 From: Jonathan Wakely Date: Wed, 18 May 2022 14:36:20 +0200 Subject: [PATCH] [libcxx] [test] Include header for strverscmp Reviewed By: ldionne, #libc Differential Revision: https://reviews.llvm.org/D122570 --- libcxx/test/support/platform_support.h | 4 ++++ 1 file changed, 4 insertions(+) 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" { -- 2.7.4