Added #define _POSIX_HOST_NAME_MAX for OSes that don't know it (NetBSD in detail)

SVN revision: 40445
This commit is contained in:
Massimiliano Calamelli 2009-04-28 15:50:32 +00:00
parent 06692e1e18
commit 5f4f968653
1 changed files with 4 additions and 0 deletions

View File

@ -45,6 +45,10 @@
#include <errno.h>
#include <signal.h>
#ifndef _POSIX_HOST_NAME_MAX
#define _POSIX_HOST_NAME_MAX 255
#endif
#ifdef HAVE_ALLOCA_H
#include <alloca.h>
#endif