summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2006-05-05 20:18:50 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:16:50 -0500
commit5c6d0f21b6948d2cfc781e4d52d851e7e7bc471d (patch)
tree8141d49b8574949c2cb7e20db814846d989d98c3 /source3
parentaf086da4ec19de83717820de85d8e672850ed4b2 (diff)
downloadsamba-5c6d0f21b6948d2cfc781e4d52d851e7e7bc471d.tar.gz
samba-5c6d0f21b6948d2cfc781e4d52d851e7e7bc471d.tar.bz2
samba-5c6d0f21b6948d2cfc781e4d52d851e7e7bc471d.zip
r15463: compile fix for new DNS code for machine using Bind 4 libs (old IRIX host)
(This used to be commit b0160f893393a446927c751961d101ddbcba4db4)
Diffstat (limited to 'source3')
-rw-r--r--source3/libads/dns.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/source3/libads/dns.c b/source3/libads/dns.c
index 0119ae9130..678124a5e9 100644
--- a/source3/libads/dns.c
+++ b/source3/libads/dns.c
@@ -38,6 +38,14 @@
#define MAX_DNS_PACKET_SIZE 0xffff
+#ifndef NS_HFIXEDSZ
+# ifdef HFIXEDSZ
+# define NS_HFIXEDSZ HFIXEDSZ
+# else
+# define NS_HFIXEDSZ 12
+# endif
+#endif
+
/*********************************************************************
*********************************************************************/