This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Fwd: unistd.h for Cygwin]




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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]