diff --git a/kbfunc.c b/kbfunc.c index 8ad5b99..6cf454c 100644 --- a/kbfunc.c +++ b/kbfunc.c @@ -324,7 +324,7 @@ kbfunc_ssh(struct client_ctx *cc, union arg *arg) struct menu_q menuq; FILE *fp; char *buf, *lbuf, *p; - char hostbuf[HOST_NAME_MAX+1]; + char hostbuf[_POSIX_HOST_NAME_MAX+1]; char path[PATH_MAX]; int l; size_t len;