[Fwd: unistd.h for Cygwin]

Jerome BENOIT 520066587150-0001@t-online.de
Fri Dec 14 13:41:00 GMT 2001



Jerome BENOIT wrote:
> 
> Bonjour:
> 
> I am rebuilding the tetex-beta package:
> I have just encountered  an error message
> which did not occur during the last built.
> 
> ../kpathsea/getopt.h:99: redefinition of `struct option'
> 
> The error comes out because the `/usr/include/getopt.h' is read before
> by `/usr/include/unistd.h' which reads two headers:
> 
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> /* unistd.h for Cygwin. */
> 
> #ifndef _UNISTD_H_
> #define _UNISTD_H_
> 
> # include <sys/unistd.h>
> # include <getopt.h>
> 
> #endif /* _UNISTD_H_ */
> <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
> 
> Is it a bug or a feature ?
> 
> Thanks in advance,
> Jerome BENOIT

-- 
  *º¤., ¸¸,.¤º*¨¨¨*¤    Jerome BENOIT, Ph.D.    *º¤., ¸¸,.¤º*¨¨¨*¤
                  Institute of Molecular Biology
               Friedrich-Schiller University of Jena
             Winzerlaer Strasse 10, Jena 07745, Germany
  *º¤., ¸¸,.¤º*¨¨¨*¤    JGMBenoit@wanadoo.fr    *º¤., ¸¸,.¤º*¨¨¨*¤

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list