mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
define HFIXEDSZ if it's missing. Not all platforms have it.
This commit is contained in:
parent
877629ed3b
commit
54f38330ef
@ -230,6 +230,9 @@ int ldap_domain2hostlist(
|
|||||||
/* Bind 8/9 interface */
|
/* Bind 8/9 interface */
|
||||||
p += NS_HFIXEDSZ;
|
p += NS_HFIXEDSZ;
|
||||||
#else
|
#else
|
||||||
|
#ifndef HFIXEDSZ
|
||||||
|
#define HFIXEDSZ sizeof(HEADER)
|
||||||
|
#endif
|
||||||
/* Bind 4 interface */
|
/* Bind 4 interface */
|
||||||
p += HFIXEDSZ;
|
p += HFIXEDSZ;
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user