delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/12/14/16:28:45

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
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 <cygwin AT sourceware DOT cygnus DOT com>
Subject: [Fwd: unistd.h for Cygwin]
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 <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 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019