info-inventor-dev
[Top] [All Lists]

select method in SoSensorMgr.c++

To: info-inventor-dev@xxxxxxxxxxx
Subject: select method in SoSensorMgr.c++
From: Rasmus Tamstorf <tamstorf@xxxxxxxxxxxxx>
Date: Fri, 2 Feb 2001 10:40:30 -0800
Sender: owner-info-inventor-dev@xxxxxxxxxxx
Hi,

I was trying to build inventor under FreeBSD and found that
SoSensorMgr.c++ uses the 'select' function. According to the man page for
'select' on both IRIX, Linux and FreeBSD, you must include 

#include <unistd.h>
#include <sys/types.h>
#include <sys/time.h>

in order to use it. However, at the moment, neither is included directly,
so to make life a little easier on other OS'es I suggest to include them.

The IRIX man page also mentions

#include <bstring.h>

but SoSensorMgr.c++ seems to do without it, and it isn't needed on the
other platforms. 

Rasmus

-----------------------------------------------------------------------------
Rasmus.Tamstorf@xxxxxxxxxx         "A problem worthy of attack, 
Walt Disney Feature Animation       proves its worth by hitting back" Kumbel
-----------------------------------------------------------------------------


<Prev in Thread] Current Thread [Next in Thread>