errno.h needs to be protected against multiple inclusion.

Christopher Faylor cgf@redhat.com
Fri Jun 21 08:38:00 GMT 2002


On Fri, Jun 21, 2002 at 11:33:06AM -0400, J. Johnston wrote:
>Christopher Faylor wrote:
>>errno.h now has a typedef which needs to be protected against multiple
>>inclusion.
>>
>>I'd offer a patch but I'm wondering if there is a newlib standard way
>>of doing this?  I also wonder if there should be a copyright notice in
>>this file?
>
>I caught this in my build testing this morning.  A fix has been
>applied.

Thanks, Jeff.  I'm amazed that the cygwin snapshot builds never had any
problems with this.  I only noticed it when I did a rebuild "by hand".

cgf



More information about the Newlib mailing list