summaryrefslogtreecommitdiff
path: root/defines.h
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2000-12-29 21:21:26 +0000
committerBen Lindstrom <mouring@eviladmin.org>2000-12-29 21:21:26 +0000
commitbeac3b434110265fe46b798ed3be5cb01e4530ee (patch)
tree66023e1629078b0065b5376153c9a30f47504cbf /defines.h
parent0a8397e00c3fde74555f4f02cc08a0b557312e12 (diff)
downloadopenssh-git-beac3b434110265fe46b798ed3be5cb01e4530ee.tar.gz
- (bal) if no MAXHOSTNAMELEN is defined. Default to 64 character defination.
Suggested by Christian Kurz <shorty@debain.org>
Diffstat (limited to 'defines.h')
-rw-r--r--defines.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/defines.h b/defines.h
index 4c3941ca..9460905a 100644
--- a/defines.h
+++ b/defines.h
@@ -78,6 +78,10 @@ enum
# endif /* PATH_MAX */
#endif /* MAXPATHLEN */
+#ifndef MAXHOSTNAMELEN
+# define MAXHOSTNAMELEN 64
+#endif /* MAXHOSTNAMELEN */
+
#ifndef STDIN_FILENO
# define STDIN_FILENO 0
#endif