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

SVN revision: 40444
This commit is contained in:
Massimiliano Calamelli 2009-04-28 15:49:45 +00:00
parent d344f8a106
commit 31c77f7844
1 changed files with 4 additions and 0 deletions

View File

@ -9,6 +9,10 @@
#include <ctype.h>
#include <limits.h>
#ifndef _POSIX_HOST_NAME_MAX
#define _POSIX_HOST_NAME_MAX 255
#endif
#ifdef HAVE_EVIL
# include <Evil.h>
#endif