Expose I_ constants. Auto-detect stropts.h. Properly configure the slave terminal.

This commit is contained in:
Martin v. Löwis 2003-01-01 09:51:12 +00:00
parent 33fb554a13
commit 14e73b1864
7 changed files with 98 additions and 7 deletions

View file

@ -2726,8 +2726,8 @@ posix_fork(PyObject *self, PyObject *args)
#include <libutil.h>
#endif /* HAVE_LIBUTIL_H */
#endif /* HAVE_PTY_H */
#if defined(sun) || defined(__hpux)
#include <sys/stropts.h>
#ifdef HAVE_STROPTS_H
#include <stropts.h>
#endif
#endif /* defined(HAVE_OPENPTY) || defined(HAVE_FORKPTY) || defined(HAVE_DEV_PTMX */