Re: 'errno' undefined?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Philip Warner <pjw(at)rhyme(dot)com(dot)au>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: 'errno' undefined?
Date: 2000-07-08 05:17:15
Message-ID: 24036.963033435@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Philip Warner <pjw(at)rhyme(dot)com(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Philip Warner 2000-07-08 05:21:58 Re: 'errno' undefined?
Previous Message Philip Warner 2000-07-08 05:02:05 Re: 'errno' undefined?