Use of select.h on Mac OS X

  • Thread starter Stephen Roderick
  • Start date
S

Stephen Roderick

Has anyone else had any trouble with the use of sys/select.h file on
Mac OS X? I can't find anything on the web about it, but the pyport.h
file that comes with the v2.3 Python framework includes "sys/select.h",
which appears to be broken in Mac OS X 10.3.4. You get a whole bunch of
compilation errors from one of the libkern header files. Replacing that
one include with the following fixes the compilation errors.

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

This cropped up when using SWIG to generate C extensions, though I
don't think SWIG is the cause.

Any advice, suggestions? Is this a Python or Apple problem?

TIA
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,202
Messages
2,571,057
Members
47,661
Latest member
sxarexu

Latest Threads

Top