From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <4B8D4FD6.6030302@lafvb.com> Date: Tue, 2 Mar 2010 12:50:14 -0500 From: Edward E Elzey User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> References: , In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [9fans] compiler warnings for libavl/avl.c Topicbox-Message-UUID: debacc84-ead5-11e9-9d60-3106f5b1d025 EBo wrote: >>> -int errno; >>> +#include > I simply noticed the patch and was wondering if there would be any advantage > to including it, so I have no idea if there is any specific advantage. I also > was not sure if this was simply a POSIX'ism or a 9'ism, and if this > could/should be cleaned up. Actually the good folks at Linux have broken errno: 9l -o o.9660srv main.o 9660srv.o xfile.o iobuf.o data.o /usr/bin/ld: errno: TLS definition in /lib/libc.so.6 section .tbss mismatches non-TLS reference in main.o /lib/libc.so.6: could not read symbols: Bad value collect2: ld returned 1 exit status The include of errno.h is a necessary appeasment. -- To err is human, to aaaaaargh: pirate. Have you been touched by His noodley appendage?