define HFIXEDSZ if it's missing. Not all platforms have it.

This commit is contained in:
Howard Chu 2004-01-17 01:54:14 +00:00
parent 877629ed3b
commit 54f38330ef

View File

@ -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