summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMassimiliano Calamelli <mcalamelli@gmail.com>2009-04-28 15:50:32 +0000
committerMassimiliano Calamelli <mcalamelli@gmail.com>2009-04-28 15:50:32 +0000
commit5f4f968653bf5792b361c233de8ef2c8298bd3fa (patch)
treeb1c4f5cc13c0bf2dd61c7bb69536f7a6db72babf
parent06692e1e181a273918376dc9736f174052a2a851 (diff)
Added #define _POSIX_HOST_NAME_MAX for OSes that don't know it (NetBSD in detail)
SVN revision: 40445
-rw-r--r--src/bin/e.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/bin/e.h b/src/bin/e.h
index 7e67299..c5c97d0 100644
--- a/src/bin/e.h
+++ b/src/bin/e.h
@@ -45,6 +45,10 @@
45#include <errno.h> 45#include <errno.h>
46#include <signal.h> 46#include <signal.h>
47 47
48#ifndef _POSIX_HOST_NAME_MAX
49#define _POSIX_HOST_NAME_MAX 255
50#endif
51
48#ifdef HAVE_ALLOCA_H 52#ifdef HAVE_ALLOCA_H
49#include <alloca.h> 53#include <alloca.h>
50#endif 54#endif