getopt compilation failure on Darwin (gzip 1.3.13)

2009-10-06 Thread Ludovic Courtès
Hello, (Cc’ing ‘bug-gnulib’ as this looks like a Gnulib issue.) GNU zip 1.3.13 fails to build on Darwin: --8<---cut here---start->8--- gcc -std=gnu99 -DHAVE_CONFIG_H -I. -g -O2 -c getopt.c In file included from ./getopt.h:28, from getopt.h

Re: getopt compilation failure on Darwin (gzip 1.3.13)

2009-10-07 Thread Ludovic Courtès
Hi Eric, Eric Blake writes: > The circle was: > ./getopt.h did include_next > did include , but found ./unistd.h > ./unistd.h did include_next >completed > ./unistd.h did include , and found ./getopt.h >./getopt.h declared things > ./unistd.h completed > redeclared things > >