]> git.sur5r.net Git - openldap/commitdiff
define HFIXEDSZ if it's missing. Not all platforms have it.
authorHoward Chu <hyc@openldap.org>
Sat, 17 Jan 2004 01:54:14 +0000 (01:54 +0000)
committerHoward Chu <hyc@openldap.org>
Sat, 17 Jan 2004 01:54:14 +0000 (01:54 +0000)
libraries/libldap/dnssrv.c

index 0baaf875ad04a7e585da91f9089f10019150a4dd..b9279a1d82f30885b1df0abd0ad7e06bdc0d2cbc 100644 (file)
@@ -230,6 +230,9 @@ int ldap_domain2hostlist(
        /* Bind 8/9 interface */
        p += NS_HFIXEDSZ;
 #else
+#ifndef        HFIXEDSZ
+#define        HFIXEDSZ        sizeof(HEADER)
+#endif
        /* Bind 4 interface */
        p += HFIXEDSZ;
 #endif