From: Joel Brobecker Date: Fri, 11 Mar 2022 04:22:26 +0000 (+0000) Subject: [Ada] Add #include in cstreams.c X-Git-Tag: basepoints/gcc-14~6715 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9abb17d9fad628a237136b3348ca33f189d2ad2b;p=thirdparty%2Fgcc.git [Ada] Add #include in cstreams.c When building the GNAT runtime for QNX, we get the following warning: | cstreams.c: In function '__gnat_full_name': | cstreams.c:209:5: warning: implicit declaration of function 'realpath' | [-Wimplicit-function-declaration] | 209 | realpath (nam, buffer); | | ^~~~~~~~ This commit fixes the warning by adding the corresponding #include of gcc/ada/ * cstreams.c: Add #include. --- diff --git a/gcc/ada/cstreams.c b/gcc/ada/cstreams.c index e714162e1a8..48f996d09fa 100644 --- a/gcc/ada/cstreams.c +++ b/gcc/ada/cstreams.c @@ -46,6 +46,7 @@ #include #include #include +#include #ifdef _AIX /* needed to avoid conflicting declarations */