cURL / Mailing Lists / curl-users / Single Mail

curl-users

[ curl-Bugs-564273 ] writeout.c fails sys/select.h on FreeBSD

From: <noreply_at_sourceforge.net>
Date: Tue, 04 Jun 2002 01:58:01 -0700

Bugs item #564273, was opened at 2002-06-04 01:58
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=100976&aid=564273&group_id=976

Category: compile or build problem
Group: portability problem
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Daniel Stenberg (bagder)
Summary: writeout.c fails sys/select.h on FreeBSD

Initial Comment:
I was unable to build on my FreeBSD 3.5.1 machine
without adding #include <sys/types.h> to writeout.c

source='writeout.c' object='writeout.o' libtool=no
depfile='.deps/writeout.Po'
tmpdepfile='.deps/writeout.TPo' depmode=gcc /bin/sh
../depcomp gcc -DHAVE_CONFIG_H -I../include -I../src
-I../src -I/usr/local/ssl/include/openssl
-I/usr/local/ssl/include -g -O2 -c `test -f writeout.c
|| echo './'`writeout.c
In file included from writeout.c:30:
/usr/include/sys/select.h:45: parse error before `pid_t'
/usr/include/sys/select.h:45: warning: no semicolon at
end of struct or union
/usr/include/sys/select.h:47: parse error before `}'
*** Error code 1

3.5.1-RELEASE and gcc version 2.7.2.3

----------------------------------------------------------------------

You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=100976&aid=564273&group_id=976

_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
Received on 2002-06-04