This is the mail archive of the
cygwin-developers@sourceware.cygnus.com
mailing list for the Cygwin project.
[Fwd: Strange problem trying to compile tcpd]
- To: cygdev <cygwin-developers at sourceware dot cygnus dot com>
- Subject: [Fwd: Strange problem trying to compile tcpd]
- From: Corinna Vinschen <corinna at vinschen dot de>
- Date: Wed, 03 May 2000 15:15:54 +0200
- Organization: Cygnus Solutions, a Red Hat Company
- Reply-To: cygdev <cygwin-developers at sourceware dot cygnus dot com>
Corinna Vinschen wrote:
> Prentis Brooks wrote:
> > [...]
> > Ok... that is not it... percent_m.c does include <errno.h>
> [...]
> You'll have to do sth like that:
>
> #ifdef __CYGWIN__
> # define sys_nerr _sys_nerr
> # define sys_errlist _sys_errlist
> #else
> extern int sys_nerr;
> extern char *sys_errlist[]
> #endif
>
> Corinna
Shouldn't sys_nerr and sys_errlist be defined in stdio.h or
stdlib.h???
Corinna