Added forkpty() and cfmakeraw() fallback implementations if they don't exist.

Signed-off-by: Timo Sirainen <tss@iki.fi>
This commit is contained in:
Timo Sirainen
2012-08-11 23:12:04 +03:00
committed by Keith Winstein
parent cc0542dfe1
commit 0c5307f345
11 changed files with 242 additions and 15 deletions
+9 -8
View File
@@ -58,14 +58,6 @@
#include <paths.h>
#endif
#include "completeterminal.h"
#include "swrite.h"
#include "user.h"
#include "fatal_assert.h"
#include "locale_utils.h"
#include "select.h"
#include "timestamp.h"
#if HAVE_PTY_H
#include <pty.h>
#elif HAVE_UTIL_H
@@ -76,6 +68,15 @@
#include <libutil.h>
#endif
#include "completeterminal.h"
#include "swrite.h"
#include "user.h"
#include "fatal_assert.h"
#include "locale_utils.h"
#include "pty_compat.h"
#include "select.h"
#include "timestamp.h"
#ifndef _PATH_BSHELL
#define _PATH_BSHELL "/bin/sh"
#endif