Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Dec 1995 10:45:56 -0800
From:      Lyndon Nerenberg (VE7TCP) <lyndon@orthanc.com>
To:        John Beukema <john@gateway.net.hk>
Cc:        hackers@freebsd.org
Subject:   Re: libraries 
Message-ID:  <199512301845.KAA08824@multivac.orthanc.com>
In-Reply-To: Your message of "Sat, 30 Dec 1995 12:24:43 %2B0800." <Pine.BSD/.3.91.951230121928.6752A-100000@gateway.net.hk> 

next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> "John" == John Beukema <john@gateway.net.hk> writes:


    John> This error is a commonn problem.  Comment it out in httcp.c
    John> or add #ifndef __FreeBSD__ #endif (from memory) around the
    John> declaration.  One is defined as char * and the other as
    John> const char * as I remember.  jbeukema

The correct fix for sys_errlist declarations is:

#include <sys/param.h>
#if (!defined(BSD) || (BSD < 199306)
/* define sys_errlist as appropriate for your system */
#endif

--lyndon



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199512301845.KAA08824>