Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-Id: <4.3.1.2.20011214163734.021c2770@pop.ma.ultranet.com> X-Sender: lhall AT pop DOT ma DOT ultranet DOT com X-Mailer: QUALCOMM Windows Eudora Version 4.3.1 Date: Fri, 14 Dec 2001 16:38:55 -0500 To: JGMBenoit AT Wanadoo DOT fr, Cygnus From: "Larry Hall (RFK Partners, Inc)" Subject: Re: [Fwd: unistd.h for Cygwin] In-Reply-To: <3C1A6E9F.C41AE273@t-online.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" 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 > > # include > > > > #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 AT rfk DOT 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/