summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/who.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/who.c b/src/who.c
index bf70891b0..0ccb4566c 100644
--- a/src/who.c
+++ b/src/who.c
@@ -31,6 +31,7 @@
#include <sys/types.h>
#include "system.h"
+#include "canon-host.h"
#include "readutmp.h"
#include "error.h"
#include "hard-locale.h"
@@ -99,7 +100,6 @@
#endif
char *ttyname ();
-char *canon_host ();
/* The name this program was run with. */
char *program_name;