problems building sfio under BSD

Maurice L. Marvin (maurice@hevanet.com)
Sat, 11 Jan 1997 08:18:35 +0000

Message-Id: <m0vj66V-0010rpC@vista.hevanet.com>
From: "Maurice L. Marvin" <maurice@hevanet.com>
To: fastcgi-developers@OpenMarket.com
Date: Sat, 11 Jan 1997 08:18:35 +0000
Subject: problems building sfio under BSD

	Hello.  I'm attempting to build sfio for use with fast-cgi under BSD.  
My initial problems were solved by Gary Shea's message to the list on Dec. 16 
(thanks Gary).  However, I'm now getting these errors:

# make
gcc -c -I. -O  sfclose.c
In file included from sfclose.c:1:
sfhdr.h:619: conflicting types for `lseek'
/usr/include/sys/types.h:84: previous declaration of `lseek'
sfhdr.h:650: conflicting types for `recv'
/usr/include/sys/socket.h:331: previous declaration of `recv'
*** Error code 1

	Has anyone else experienced this?  What was the solution?
I'm running under BSD 2.1.6. 

Any help would be appreciated.

Maurice L. Marvin <maurice@hevanet.com>