From 163d5ead3a058d3f63b5e5a041715d5642784dff Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Fri, 12 May 2006 16:38:51 +0000 Subject: r15544: make sure to define NS_PACKETSZ for Bind 4 interfaces (fix build on us4) (This used to be commit 18f2e1a4e19a83afec6573a020f3a913f07d19dc) --- source3/libads/dns.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'source3/libads') diff --git a/source3/libads/dns.c b/source3/libads/dns.c index 7eeb915ecf..d2e263a9d1 100644 --- a/source3/libads/dns.c +++ b/source3/libads/dns.c @@ -47,7 +47,12 @@ # define NS_HFIXEDSZ HFIXEDSZ # else # define NS_HFIXEDSZ sizeof(HEADER) -# endif +# endif /* HFIXEDSZ */ +# ifdef PACKETSZ +# define NS_PACKETSZ PACKETSZ +# else /* 512 is usually the default */ +# define NS_PACKETSZ 512 +# endif /* PACKETSZ */ # define T_SRV 33 #endif -- cgit