diff options
author | David Boreham <dboreham@redhat.com> | 2005-02-21 21:43:08 +0000 |
---|---|---|
committer | David Boreham <dboreham@redhat.com> | 2005-02-21 21:43:08 +0000 |
commit | f64e827b9c3011b07b5d78dd52466236dc77346e (patch) | |
tree | 258e45cf61ec96d890184864283ce1a9f9d5b977 | |
parent | b94533ed0efc5be790c676688a009f64b7e556dc (diff) | |
download | ds-f64e827b9c3011b07b5d78dd52466236dc77346e.tar.gz ds-f64e827b9c3011b07b5d78dd52466236dc77346e.tar.xz ds-f64e827b9c3011b07b5d78dd52466236dc77346e.zip |
Add long hostname support for HP-UX
-rw-r--r-- | ldap/servers/slapd/localhost.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ldap/servers/slapd/localhost.c b/ldap/servers/slapd/localhost.c index fedf8a19..ee831647 100644 --- a/ldap/servers/slapd/localhost.c +++ b/ldap/servers/slapd/localhost.c @@ -37,6 +37,13 @@ #define NO_DOMAINNAME 1 #endif +#if defined (__hpux) +#if (MAXHOSTNAMELEN < 256) +# undef MAXHOSTNAMELEN +# define MAXHOSTNAMELEN 256 +#endif +#endif + static char* find_localhost_DNS() { |