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: <3C1A6E9F.C41AE273@t-online.de> Date: Fri, 14 Dec 2001 22:26:55 +0100 From: 520066587150-0001 AT t-online DOT de (Jerome BENOIT) Reply-To: JGMBenoit AT Wanadoo DOT fr X-Mailer: Mozilla 4.76 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Cygnus Subject: [Fwd: unistd.h for Cygwin] Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Sender: 520066587150-0001 AT t-dialin DOT net 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 -- *º¤., ¸¸,.¤º*¨¨¨*¤ Jerome BENOIT, Ph.D. *º¤., ¸¸,.¤º*¨¨¨*¤ Institute of Molecular Biology Friedrich-Schiller University of Jena Winzerlaer Strasse 10, Jena 07745, Germany *º¤., ¸¸,.¤º*¨¨¨*¤ JGMBenoit AT wanadoo DOT 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/