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 To: ken AT acm DOT org, jaa AT cs DOT su DOT oz DOT au Cc: cygwin AT cygwin DOT com Subject: compface patch User-Agent: XEmacs/Gnus X-Attribution: yogi X-Face: -%Z4EZ6iY'4m:wiK:!v Organization: University of North Carolina Date: 17 May 2001 15:24:49 -0400 Message-ID: <86lmnvsrr2.fsf@bock.chem.unc.edu> Lines: 59 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Hi, I am not sure who maintains compface... Anyway, I needed to change cmain.c and uncmain.c regarding errno to be able to compile it on cygwin. Here are the diffs, maybe someone could put this into a distribution? Greetings, Jochen PS: Copying to cygwin list, maybe someone has a use for it. I am using the latest cygwin dll. -- University of North Carolina phone: 919-962-1579 Department of Chemistry fax: 919-843-6041 Venable Hall CB#3290 GnuPG key: 44BCCD8E Chapel Hill, NC 27599, USA diff -u cmain.c-orig cmain.c --- cmain.c-orig Wed Nov 22 19:51:03 2000 +++ cmain.c Thu May 17 15:15:17 2001 @@ -53,11 +53,12 @@ /* error handling definitions follow */ +#include + #ifndef HAVE_STRERROR -extern int errno, sys_nerr; +extern int sys_nerr; extern char *sys_errlist[]; #else -extern int errno; char *strerror(); char *strerrorwrap(); #endif diff -u uncmain.c-orig uncmain.c --- uncmain.c-orig Wed Nov 22 19:51:24 2000 +++ uncmain.c Thu May 17 15:16:18 2001 @@ -53,11 +53,12 @@ /* error handling definitions follow */ +#include + #ifndef HAVE_STRERROR -extern int errno, sys_nerr; +extern int sys_nerr; extern char *sys_errlist[]; #else -extern int errno; char *strerror(); char *strerrorwrap(); #endif -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple