Re: [PATCH] aclocal.m4: fix -Wimplicit-function-declaration in dup2 check

2023-02-15 Thread Sam James
> On 2 Feb 2023, at 05:46, Sam James wrote: > > dup2 requires a include. Fixes the following when diffing > config.log > when testing with a stricter compiler: > ``` > -warning: call to undeclared function 'dup2'; ISO C99 and later do not > support implicit function declarations [-Wimplicit-

[PATCH] aclocal.m4: fix -Wimplicit-function-declaration in dup2 check

2023-02-01 Thread Sam James
dup2 requires a include. Fixes the following when diffing config.log when testing with a stricter compiler: ``` -warning: call to undeclared function 'dup2'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +error: call to undeclared function 'dup