Forward port a number of OSX bugfixes from the trunk to 3.2
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 @@
 #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