On 11/13/25 8:23 AM, [email protected] wrote:
From: Andrew Oates <[email protected]>

A better approach might be to put this in externs.h, guarded with
HAVE_ERRNO_H, and put the extern int errno declaration there as well.
However many other files do this pattern (unconditionally include
<errno.h> and declare extern int errno), so just using that pattern
here as well.

This is the only instance where we declare extern int errno but _don't_
include <errno.h> that I can find in the codebase.

Thanks for the report.

--
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    [email protected]    http://tiswww.cwru.edu/~chet/

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to