cURL / Mailing Lists / curl-users / Single Mail


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

From: <>
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:

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
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


You can respond by visiting:


Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas --
Received on 2002-06-04