summaryrefslogtreecommitdiffstats
path: root/includes.h
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2015-02-25 01:50:06 +0100
committerDamien Miller <djm@mindrot.org>2015-02-25 01:50:36 +0100
commit38806bda6d2e48ad32812b461eebe17672ada771 (patch)
tree40973ef6e20b8e8fe26ddc6183cf586c583fe61c /includes.h
parentWork around finicky USL linker so netcat will build. (diff)
downloadopenssh-38806bda6d2e48ad32812b461eebe17672ada771.tar.xz
openssh-38806bda6d2e48ad32812b461eebe17672ada771.zip
include netdb.h to look for MAXHOSTNAMELEN; ok tim
Diffstat (limited to '')
-rw-r--r--includes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes.h b/includes.h
index c3034e37d..2893a54cd 100644
--- a/includes.h
+++ b/includes.h
@@ -27,7 +27,7 @@
#include <sys/socket.h> /* For CMSG_* */
#ifdef HAVE_LIMITS_H
-# include <limits.h> /* For PATH_MAX */
+# include <limits.h> /* For PATH_MAX, _POSIX_HOST_NAME_MAX */
#endif
#ifdef HAVE_BSTRING_H
# include <bstring.h>