diff options
author | Joel Brobecker <brobecker@adacore.com> | 2022-03-11 04:22:26 +0000 |
---|---|---|
committer | Pierre-Marie de Rodat <derodat@adacore.com> | 2022-05-16 08:42:05 +0000 |
commit | 9abb17d9fad628a237136b3348ca33f189d2ad2b (patch) | |
tree | e1038489440d7f0e55a7b061b1944a83a5bd1e7f /gcc/ada/init.c | |
parent | dec636b831a286ab9f7773364a6f0cedf08ac9c0 (diff) | |
download | gcc-9abb17d9fad628a237136b3348ca33f189d2ad2b.zip gcc-9abb17d9fad628a237136b3348ca33f189d2ad2b.tar.gz gcc-9abb17d9fad628a237136b3348ca33f189d2ad2b.tar.bz2 |
[Ada] Add <stdlib.h> #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 <stdlib.h>
gcc/ada/
* cstreams.c: Add <stdlib.h> #include.
Diffstat (limited to 'gcc/ada/init.c')
0 files changed, 0 insertions, 0 deletions