]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
1615. [port] Define ISC_SOCKADDR_LEN_T based on _BSD_SOCKLEN_T_ if
authorMark Andrews <marka@isc.org>
Mon, 19 Apr 2004 02:54:15 +0000 (02:54 +0000)
committerMark Andrews <marka@isc.org>
Mon, 19 Apr 2004 02:54:15 +0000 (02:54 +0000)
                        it is defined.

CHANGES
lib/isc/unix/socket.c

diff --git a/CHANGES b/CHANGES
index 961b87575a9a8411763368a5aa9e44e9d9edb554..b76bd475ca6f5816217ac5281f33bd23c5a7a983 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,6 @@
+1615.  [port]          Define ISC_SOCKADDR_LEN_T based on _BSD_SOCKLEN_T_ if
+                       it is defined.
+
 1614.  [placeholder]   rt11101
 
 1613.  [placeholder]   rt11119
index 3b1396cf136a5734f53235d694e18a4b2b29dbdd..4c6734b0cb112ed92961ea7c5e5a84ae260f063b 100644 (file)
@@ -15,7 +15,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: socket.c,v 1.238 2004/04/15 01:58:25 marka Exp $ */
+/* $Id: socket.c,v 1.239 2004/04/19 02:53:05 marka Exp $ */
 
 #include <config.h>
 
  * some as socklen_t.  This is here so it can be easily changed if needed.
  */
 #ifndef ISC_SOCKADDR_LEN_T
+#ifdef _BSD_SOCKLEN_T_
+#define ISC_SOCKADDR_LEN_T _BSD_SOCKLEN_T_
+#else
 #define ISC_SOCKADDR_LEN_T unsigned int
 #endif
+#endif
 
 /*
  * Define what the possible "soft" errors can be.  These are non-fatal returns