portability touch-up #2

Rich Felker dalias at aerifal.cx
Fri May 26 22:45:39 UTC 2006


On Fri, May 26, 2006 at 11:40:54PM +0200, Peter S. Mazinger wrote:
> On Fri, 26 May 2006, Bernhard Fischer wrote:
> 
> > This is the rest of the initial diff.
> > 
> > These bits are needed to be able to configure busybox with a non-gcc
> > C-compiler on a non-linux box.
> > 
> > Just for reference..
> 
> s/getopt.h/unistd.h/ as of SuSv3

standard getopt is in unistd.h, but if using the gnu extensions you
should include the gnu header, getopt.h, rather than assuming that the
gnu mess is polluting the unistd.h namespace. :)

rich




More information about the busybox mailing list