diff options
author | Gerald Carter <jerry@samba.org> | 2006-05-12 16:38:51 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:16:57 -0500 |
commit | 163d5ead3a058d3f63b5e5a041715d5642784dff (patch) | |
tree | d4b0735b09d39b508c908a8f5164efdc6f2f4b4f /source3 | |
parent | 2c029a8b96ae476f1d5c2abe14ee25f98a1513d8 (diff) | |
download | samba-163d5ead3a058d3f63b5e5a041715d5642784dff.tar.gz samba-163d5ead3a058d3f63b5e5a041715d5642784dff.tar.bz2 samba-163d5ead3a058d3f63b5e5a041715d5642784dff.zip |
r15544: make sure to define NS_PACKETSZ for Bind 4 interfaces (fix build on us4)
(This used to be commit 18f2e1a4e19a83afec6573a020f3a913f07d19dc)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/libads/dns.c | 7 |
1 files changed, 6 insertions, 1 deletions
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 |