diff options
-rw-r--r-- | libps/tty.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libps/tty.c b/libps/tty.c index 9d89c665..9e7de577 100644 --- a/libps/tty.c +++ b/libps/tty.c @@ -27,6 +27,8 @@ #include "ps.h" #include "common.h" + +#include "ps_term.h" /* ---------------------------------------------------------------- */ @@ -69,7 +71,7 @@ ps_tty_name (struct ps_tty *tty) { string_t buf; - if (term_get_nodename (tty->port, buf) != 0) + if (ps_term_get_nodename (tty->port, buf) != 0) /* There is a terminal there, but we can't figure out its name. */ tty->name_state = PS_TTY_NAME_ERROR; else |