From 46ddf0e34b03f7711a9c80f7a70dc8cbf732f782 Mon Sep 17 00:00:00 2001 From: Isaac Dunham Date: Wed, 19 Nov 2014 16:38:46 -0600 Subject: 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. --- toys/posix/who.c | 1 + 1 file changed, 1 insertion(+) (limited to 'toys/posix/who.c') diff --git a/toys/posix/who.c b/toys/posix/who.c index 2c8a2e65..876a562a 100644 --- a/toys/posix/who.c +++ b/toys/posix/who.c @@ -14,6 +14,7 @@ USE_WHO(NEWTOY(who, "a", TOYFLAG_BIN)) config WHO bool "who" default y + depends on TOYBOX_UTMPX help usage: who -- cgit v1.2.3