FastCGI 2.0.0

Ben Gavin (gavinb@supranet.net)
Mon, 07 Apr 1997 13:31:12 -0500

Message-Id: <3.0.1.32.19970407133112.007ae540@mail.supranet.net>
Date: Mon, 07 Apr 1997 13:31:12 -0500
To: fastcgi-developers@OpenMarket.com
From: Ben Gavin <gavinb@supranet.net>
Subject: FastCGI 2.0.0

Hi,
  I was compiling the FastCGI Libraries and I came upon a small bug, I
don't know if it affects anyone else, but I am using Borland 5.01 and in
the fcgimisc.h file the following lines should be changed:

//-------------------------------
#include <stdio.h>
#include <limits.h>

!---- This:
#include <fcgi_config.h>
!---- Should be changed to:
#include "fcgi_config.h"

#ifdef HAVE_SYS_SELECT_H
#include <sys/select.h>
#endif
//----------------------------

Also I got it to compile by changing the following lines in strerror.c:

//----------------------------
#if ! defined (HAVE_STRERROR)
#include <string.h>

to:

#if !defined(HAVE_STRERROR)
#include <string.h>
#include <errno.h>

and commenting out the following lines:
#define	UPREFIX	"Unknown error: "
!----  These two:
	extern char *sys_errlist[];
	extern int sys_nerr;

//-----------------------------

Hope this helps people.

Ben Gavin