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]

Re: [Fwd: unistd.h for Cygwin]


At 04:26 PM 12/14/2001, Jerome BENOIT wrote:


>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



Hasn't this been discussed before (or did this message pop up
accidentally from some long forgotten mail queue)?



Larry Hall                              lhall@rfk.com
RFK Partners, Inc.                      http://www.rfk.com
838 Washington Street                   (508) 893-9779 - RFK Office
Holliston, MA 01746                     (508) 893-9889 - FAX


--
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]