Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <001301c16ab4$98e0a040$0100007f@localhost> From: "Chuck Higgins" To: Subject: [patch] Minor problems building inetutils Date: Sun, 11 Nov 2001 13:26:08 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 I came a across a couple of glitches when I came to compile inetutils, minor stuff, but I thought I'd mention them (that's inetutils-1.3.2-15 and cygwin-1.3.4-4). rexecd.c includes inside of a function, which doesn't work any more since windows.h now contains some functions definitions. And, talks/msgs.c defines `timerclear' which doesn't work since it's now in the standard headers as a macro. --- rexecd/rexecd.c.orig Wed Jul 5 12:44:42 2000 +++ rexecd/rexecd.c Wed Nov 7 02:44:36 2001 @@ -78,6 +78,10 @@ static char sccsid[] = "@(#)rexecd.c 8.1 #include #endif +#ifdef __CYGWIN__ +#include +#endif + /*VARARGS1*/ int error(); @@ -122,7 +126,6 @@ doit(f, fromp) struct sockaddr_in *fromp; { #ifdef __CYGWIN__ -#include HANDLE hToken; #endif char *cmdbuf, *cp, *namep; --- talk/msgs.c.orig Wed Nov 7 11:47:40 2001 +++ talk/msgs.c Wed Nov 7 11:53:08 2001 @@ -91,12 +91,3 @@ end_msgs() signal(SIGALRM, SIG_DFL); } -#ifdef __CYGWIN__ -void timerclear (tv) -struct timeval *tv; -{ - tv->tv_sec = 0; - tv->tv_usec = 0; -} -#endif - -- 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/