diff options
author | Colin Watson <cjwatson@debian.org> | 2015-08-19 14:23:51 +0100 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2015-08-19 16:48:11 +0100 |
commit | 0f0841b2d28b7463267d4d91577e72e3340a1d3a (patch) | |
tree | ba55fcd2b6e2cc22b30f5afb561dbb3da4c8b6c7 /defines.h | |
parent | f2a5f5dae656759efb0b76c3d94890b65c197a02 (diff) | |
parent | 8698446b972003b63dfe5dcbdb86acfe986afb85 (diff) |
New upstream release (6.8p1).
Diffstat (limited to 'defines.h')
-rw-r--r-- | defines.h | 25 |
1 files changed, 17 insertions, 8 deletions
@@ -105,6 +105,17 @@ enum | |||
105 | # endif /* PATH_MAX */ | 105 | # endif /* PATH_MAX */ |
106 | #endif /* MAXPATHLEN */ | 106 | #endif /* MAXPATHLEN */ |
107 | 107 | ||
108 | #ifndef HOST_NAME_MAX | ||
109 | # include "netdb.h" /* for MAXHOSTNAMELEN */ | ||
110 | # if defined(_POSIX_HOST_NAME_MAX) | ||
111 | # define HOST_NAME_MAX _POSIX_HOST_NAME_MAX | ||
112 | # elif defined(MAXHOSTNAMELEN) | ||
113 | # define HOST_NAME_MAX MAXHOSTNAMELEN | ||
114 | # else | ||
115 | # define HOST_NAME_MAX 255 | ||
116 | # endif | ||
117 | #endif /* HOST_NAME_MAX */ | ||
118 | |||
108 | #if defined(HAVE_DECL_MAXSYMLINKS) && HAVE_DECL_MAXSYMLINKS == 0 | 119 | #if defined(HAVE_DECL_MAXSYMLINKS) && HAVE_DECL_MAXSYMLINKS == 0 |
109 | # define MAXSYMLINKS 5 | 120 | # define MAXSYMLINKS 5 |
110 | #endif | 121 | #endif |
@@ -586,6 +597,12 @@ struct winsize { | |||
586 | # undef HAVE_GAI_STRERROR | 597 | # undef HAVE_GAI_STRERROR |
587 | #endif | 598 | #endif |
588 | 599 | ||
600 | #if defined(HAVE_GETADDRINFO) | ||
601 | # if defined(HAVE_DECL_AI_NUMERICSERV) && HAVE_DECL_AI_NUMERICSERV == 0 | ||
602 | # define AI_NUMERICSERV 0 | ||
603 | # endif | ||
604 | #endif | ||
605 | |||
589 | #if defined(BROKEN_UPDWTMPX) && defined(HAVE_UPDWTMPX) | 606 | #if defined(BROKEN_UPDWTMPX) && defined(HAVE_UPDWTMPX) |
590 | # undef HAVE_UPDWTMPX | 607 | # undef HAVE_UPDWTMPX |
591 | #endif | 608 | #endif |
@@ -805,14 +822,6 @@ struct winsize { | |||
805 | # define SSH_IOBUFSZ 8192 | 822 | # define SSH_IOBUFSZ 8192 |
806 | #endif | 823 | #endif |
807 | 824 | ||
808 | #ifndef _NSIG | ||
809 | # ifdef NSIG | ||
810 | # define _NSIG NSIG | ||
811 | # else | ||
812 | # define _NSIG 128 | ||
813 | # endif | ||
814 | #endif | ||
815 | |||
816 | /* | 825 | /* |
817 | * Platforms that have arc4random_uniform() and not arc4random_stir() | 826 | * Platforms that have arc4random_uniform() and not arc4random_stir() |
818 | * shouldn't need the latter. | 827 | * shouldn't need the latter. |