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 Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Reply-To: From: "Ian R. Chesal" To: "'cygwin'" Subject: RE: Where is rresvport defined in the Cygwini distribution? Date: Sun, 19 Jan 2003 23:45:09 -0500 Message-ID: <000101c2c03e$b925c200$0302a8c0@calvin> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 In-Reply-To: <000001c2c03e$3a354470$0302a8c0@calvin> X-Authentication-Info: Submitted using SMTP AUTH LOGIN at fep02-mail.bloor.is.net.cable.rogers.com from [24.102.123.73] using ID at Sun, 19 Jan 2003 23:43:42 -0500 To answer my own question, adding: #ifdef CYGWIN extern int rresvport(int *port); #endif To the top of the file after the #includes seems to have solved the problem. Cheers! Ian -----Original Message----- From: cygwin-owner AT cygwin DOT com [mailto:cygwin-owner AT cygwin DOT com] On Behalf Of Ian R. Chesal Sent: January 19, 2003 11:42 PM To: 'cygwin' Subject: Where is rresvport defined in the Cygwini distribution? Again, this is related to porting GridEngine to cygwin. I have a file that says: #include and then calls rresvport(int *port). When I do a 'man rresvport' it looks like it should be in unistd.h but I can't find a prototype for the function in any header file. Can someone point me in the right direction? Thanks! Ian --- Ian R. Chesal -- 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/ -- 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/