[PATCH] testsuite: stdlib/isomac.c: add missing include

Aurelien Jarno aurelien@aurel32.net
Sat Feb 2 10:57:00 GMT 2019


On 2019-01-08 21:10, Aurelien Jarno wrote:
> When running the testsuite, building stdlib/isomac.c outputs the
> following warning:
> 
>   gcc -O   -D_GNU_SOURCE -DIS_IN_build -include /home/aurel32/glibc-build/config.h isomac.c -o /home/aurel32/glibc-build/stdlib/isomac
>   isomac.c: In function ‘get_null_defines’:
>   isomac.c:260:3: warning: implicit declaration of function ‘close’; did you mean ‘pclose’? [-Wimplicit-function-declaration]
>      close (fd);
>      ^~~~~
>      pclose
> 
> Fix that by adding the <unistd.h> include.
> 

Ping, now that master is opened again for development, is this patch
fine to be committed?

-- 
Aurelien Jarno                          GPG: 4096R/1DDD8C9B
aurelien@aurel32.net                 http://www.aurel32.net



More information about the Libc-alpha mailing list