r15463: compile fix for new DNS code for machine using Bind 4 libs (old IRIX host)
authorGerald Carter <jerry@samba.org>
Fri, 5 May 2006 20:18:50 +0000 (20:18 +0000)
committerGerald Carter <jerry@samba.org>
Fri, 5 May 2006 20:18:50 +0000 (20:18 +0000)
source/libads/dns.c

index 0119ae913077ebd4c41b20237bafcbe813c8834b..678124a5e93ec4ded110e87bd274d5bcf87c617e 100644 (file)
 
 #define MAX_DNS_PACKET_SIZE 0xffff
 
+#ifndef NS_HFIXEDSZ
+#  ifdef HFIXEDSZ
+#    define NS_HFIXEDSZ HFIXEDSZ
+#  else
+#    define NS_HFIXEDSZ 12
+#  endif
+#endif
+
 /*********************************************************************
 *********************************************************************/