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

From Tom Lane
Subject Re: 'errno' undefined?
Date
Msg-id 24152.963034609@sss.pgh.pa.us
Whole thread Raw
In response to Re: 'errno' undefined?  (Philip Warner <pjw@rhyme.com.au>)
List pgsql-hackers
>> The answer probably is that pqformat.h needs to include <errno.h>,
>> but I'm just curious to understand why it didn't before ...

Well, I noticed that <stdlib.h> pulls in <errno.h> on my box, so that
explains why I didn't see a problem.  I still don't see the connection
between the includes I killed and <errno.h> on your box, though...
curious.  Anyway I committed the change to pqformat.c.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Philip Warner
Date:
Subject: Re: 'errno' undefined?
Next
From: "Oliver Elphick"
Date:
Subject: Re: Re: [SQL] Re: [GENERAL] lztext and compression ratios...