X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Thu, 21 Apr 2011 09:18:54 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: /usr/include/sys/poll.h problem in cygwin snapshot 2011-04-20 Message-ID: <20110421071854.GF3324@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Note-from-DJ: This may be spam On Apr 21 08:08, Thomas Stalder wrote: > Hello, > > The /usr/include/sys/poll.h file in the latest snapshot is broken. > > ----------------------- test.c ------------------------- > #include > > int main(void) > { > return 0; > } > ---------------------------------------------------------- > > $ gcc a.c > In file included from /usr/include/poll.h:11, > from a.c:1: > /usr/include/sys/poll.h:43: error: expected ‘;’, ‘,’ or > ‘)’ before ‘*’ token > > Find a patch in attachment to correct the problem. Thanks, applied. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple