Switch to limits.h; replace MAXPATHLEN and MAXHOSTNAMELEN with PATH_MAX

and HOST_NAME_MAX+1, respectively.

ok doug@
This commit is contained in:
okan
2015-01-19 14:54:16 +00:00
parent c412f040df
commit 7936b9b2a7
15 changed files with 33 additions and 20 deletions

View File

@ -18,11 +18,12 @@
* $OpenBSD$
*/
#include <sys/param.h>
#include <sys/types.h>
#include <sys/queue.h>
#include <err.h>
#include <errno.h>
#include <limits.h>
#include <stdarg.h>
#include <stdint.h>
#include <stdio.h>