diff options
author | Isaac Dunham <ibid.ag@gmail.com> | 2014-11-19 16:38:46 -0600 |
---|---|---|
committer | Isaac Dunham <ibid.ag@gmail.com> | 2014-11-19 16:38:46 -0600 |
commit | 46ddf0e34b03f7711a9c80f7a70dc8cbf732f782 (patch) | |
tree | 4f69c03c7da6c6f3fd977182ebb93c89703d47a8 /toys.h | |
parent | 159a7f1621eecf6cf3c2824ffb762a19bf5f7667 (diff) | |
download | toybox-46ddf0e34b03f7711a9c80f7a70dc8cbf732f782.tar.gz |
probe for getspnam(), forkpty(), utmpx, replace sethostname()
Android is missing all of these; we need to probe for some so we have
a config symbol to depend on.
sethostname() is easily replaced.
We got termios.h via pty.h; now it's not included in configure-step tools,
so we need termios.h to generate globals.
Diffstat (limited to 'toys.h')
-rw-r--r-- | toys.h | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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> |