git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf71f88
)
r15463: compile fix for new DNS code for machine using Bind 4 libs (old IRIX host)
author
Gerald Carter
<jerry@samba.org>
Fri, 5 May 2006 20:18:50 +0000
(20:18 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 16:16:50 +0000
(11:16 -0500)
source/libads/dns.c
patch
|
blob
|
history
diff --git
a/source/libads/dns.c
b/source/libads/dns.c
index 0119ae913077ebd4c41b20237bafcbe813c8834b..678124a5e93ec4ded110e87bd274d5bcf87c617e 100644
(file)
--- a/
source/libads/dns.c
+++ b/
source/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
+
/*********************************************************************
*********************************************************************/