From 54f38330ef8c996a949551ff4a67da054ad92481 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Sat, 17 Jan 2004 01:54:14 +0000 Subject: [PATCH] define HFIXEDSZ if it's missing. Not all platforms have it. --- libraries/libldap/dnssrv.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libraries/libldap/dnssrv.c b/libraries/libldap/dnssrv.c index 0baaf875ad..b9279a1d82 100644 --- a/libraries/libldap/dnssrv.c +++ b/libraries/libldap/dnssrv.c @@ -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 -- 2.39.5