vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Making, drinking tea and reading an opus magnum from Han Boetes: > I just tried to compile the latest version of rtorrent and I got an error about > select being undeclared. > > So I read select(2) and found. > > SYNOPSIS > #include <sys/types.h> > #include <sys/time.h> > #include <string.h> > #include <unistd.h> > > While on GNU/Linux select(2) says: > > SYNOPSIS > /* According to POSIX 1003.1-2001 */ > #include <sys/select.h> > > /* According to earlier standards */ > #include <sys/time.h> > #include <sys/types.h> > #include <unistd.h> > > > What do you think? select() proto cannot be in any of the sys/* files thus it is in the unistd.h and there is no reason to move it anywhere really... cu -- paranoic mickey (my employers have changed but, the name has remained) |
| Thread Tools | |
| Display Modes | |
|
|