From 94b134818381e3fda628e11ae1f4f34287327cec Mon Sep 17 00:00:00 2001 From: Alex Lorenz Date: Wed, 8 May 2024 20:16:15 -0700 Subject: [PATCH] stdlib: fix android build the readlink addition in f4bf278 was introduced without a corresponding include. --- stdlib/public/runtime/Paths.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/stdlib/public/runtime/Paths.cpp b/stdlib/public/runtime/Paths.cpp index 131a24ed40502..174140238ba5d 100644 --- a/stdlib/public/runtime/Paths.cpp +++ b/stdlib/public/runtime/Paths.cpp @@ -49,6 +49,11 @@ #include #endif +#ifdef __linux__ +// Needed for 'readlink'. +#include +#endif + #include #include #include