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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 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 <unistd.> 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 <[EMAIL PROTECTED]> -- 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/