Re: 'errno' undefined? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: 'errno' undefined?
Date
Msg-id 24036.963033435@sss.pgh.pa.us
Whole thread Raw
In response to Re: 'errno' undefined?  (Philip Warner <pjw@rhyme.com.au>)
Responses Re: 'errno' undefined?
List pgsql-hackers
Philip Warner <pjw@rhyme.com.au> writes:
>> they weren't on my platform.  But maybe something in there was needed
>> on yours.  Where does errno get declared in your system's headers?

> errno.h

Hmm.  The stuff I just removed doesn't look like it would cause an
inclusion of errno.h.  Which other system headers include errno.h
on your box?

The answer probably is that pqformat.h needs to include <errno.h>,
but I'm just curious to understand why it didn't before ...
        regards, tom lane


pgsql-hackers by date:

Previous
From: Philip Warner
Date:
Subject: Re: 'errno' undefined?
Next
From: Philip Warner
Date:
Subject: Re: 'errno' undefined?