mirror of
https://github.com/leahneukirchen/cwm.git
synced 2023-08-10 21:13:12 +03:00
Use _POSIX_HOST_NAME_MAX
to be able to compile under Mac OS X.
This commit is contained in:
parent
976d77c76d
commit
9cfb9225ed
2
kbfunc.c
2
kbfunc.c
@ -324,7 +324,7 @@ kbfunc_ssh(struct client_ctx *cc, union arg *arg)
|
|||||||
struct menu_q menuq;
|
struct menu_q menuq;
|
||||||
FILE *fp;
|
FILE *fp;
|
||||||
char *buf, *lbuf, *p;
|
char *buf, *lbuf, *p;
|
||||||
char hostbuf[HOST_NAME_MAX+1];
|
char hostbuf[_POSIX_HOST_NAME_MAX+1];
|
||||||
char path[PATH_MAX];
|
char path[PATH_MAX];
|
||||||
int l;
|
int l;
|
||||||
size_t len;
|
size_t len;
|
||||||
|
Loading…
Reference in New Issue
Block a user