summaryrefslogtreecommitdiffstats
path: root/Modules/posixmodule.c
diff options
context:
space:
mode:
authorRonald Oussoren <ronaldoussoren@mac.com>2010-02-07 19:56:39 (GMT)
committerRonald Oussoren <ronaldoussoren@mac.com>2010-02-07 19:56:39 (GMT)
commit755740f3ea9c5005d16a80c07e7fc26e45f11aa1 (patch)
tree5c764709032b00db8244cde4a358025f61ef5751 /Modules/posixmodule.c
parenta5336b60007476389cb3102b9c020bc78c3fca76 (diff)
downloadcpython-755740f3ea9c5005d16a80c07e7fc26e45f11aa1.zip
cpython-755740f3ea9c5005d16a80c07e7fc26e45f11aa1.tar.gz
cpython-755740f3ea9c5005d16a80c07e7fc26e45f11aa1.tar.bz2
Forward port a number of OSX bugfixes from the trunk to 3.2
Diffstat (limited to 'Modules/posixmodule.c')
-rw-r--r--Modules/posixmodule.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c
index 66ca101..96d8d4d 100644
--- a/Modules/posixmodule.c
+++ b/Modules/posixmodule.c
@@ -3785,6 +3785,10 @@ posix_fork(PyObject *self, PyObject *noargs)
#else
#ifdef HAVE_LIBUTIL_H
#include <libutil.h>
+#else
+#ifdef HAVE_UTIL_H
+#include <util.h>
+#endif /* HAVE_UTIL_H */
#endif /* HAVE_LIBUTIL_H */
#endif /* HAVE_PTY_H */
#ifdef HAVE_STROPTS_H