aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2015-01-16 13:49:23 -0600
committerElliott Hughes <enh@google.com>2015-01-16 13:49:23 -0600
commitc2415d16a8991e2192bda002baab840bfa4d5d79 (patch)
treec8ad3f35c90d2c7d25cbc95b7ce9dfbec72416a6 /lib
parent3b915991f8c8648f939498777f4d76aad04f2817 (diff)
downloadtoybox-c2415d16a8991e2192bda002baab840bfa4d5d79.tar.gz
AOSP master has <pty.h> and builds netcat/nc.
Diffstat (limited to 'lib')
-rw-r--r--lib/portability.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/portability.h b/lib/portability.h
index 4097defa..9a7b349b 100644
--- a/lib/portability.h
+++ b/lib/portability.h
@@ -206,11 +206,8 @@ ssize_t getline(char **lineptr, size_t *n, FILE *stream);
#if CFG_TOYBOX_UTMPX
#include <utmpx.h>
#endif
-#if CFG_TOYBOX_PTY
+
#include <pty.h>
-#else
-pid_t forkpty(int *amaster, char *name, void *termp, void *winp);
-#endif
// Some systems don't define O_NOFOLLOW, and it varies by architecture, so...