summaryrefslogtreecommitdiff
path: root/toys.h
diff options
context:
space:
mode:
authorxroche <xavier.roche@open.eurogiciel.org>2014-12-09 09:46:53 +0100
committerxroche <xavier.roche@open.eurogiciel.org>2014-12-09 09:46:53 +0100
commit05423b7d418fa33f4c812b8262c21f9401ee3a98 (patch)
treebeda5326587188087152da3293fd1327a6d6c299 /toys.h
parent9331dfb4907377e5241cfecb67aac4a2a7617ca4 (diff)
downloadtoybox-05423b7d418fa33f4c812b8262c21f9401ee3a98.tar.gz
toybox-05423b7d418fa33f4c812b8262c21f9401ee3a98.tar.bz2
toybox-05423b7d418fa33f4c812b8262c21f9401ee3a98.zip
Imported Upstream version 0.5.1upstream/0.5.1
Diffstat (limited to 'toys.h')
-rw-r--r--toys.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/toys.h b/toys.h
index 2e5c6b0..6b5f87a 100644
--- a/toys.h
+++ b/toys.h
@@ -41,10 +41,10 @@
#include <sys/utsname.h>
#include <sys/wait.h>
#include <syslog.h>
+#include <termios.h>
#include <time.h>
#include <unistd.h>
#include <utime.h>
-#include <utmpx.h>
// Posix networking
@@ -64,7 +64,6 @@
#include <wctype.h>
// LSB 4.1 headers
-#include <pty.h>
#include <sys/ioctl.h>
#include <sys/statfs.h>
#include <sys/sysinfo.h>
@@ -132,10 +131,10 @@ extern struct toy_context {
int toycount; // Total number of commands in this build
int signal; // generic_signal() records what signal it saw here
int signalfd; // and writes signal to this fd, if set
- int recursion; // How many nested calls to toy_exec()
// This is at the end so toy_init() doesn't zero it.
jmp_buf *rebound; // longjmp here instead of exit when do_rebound set
+ int recursion; // How many nested calls to toy_exec()
} toys;
// Two big temporary buffers: one for use by commands, one for library functions