Commit b21b49a1 authored by Mark Andrews's avatar Mark Andrews
Browse files

1615. [port] Define ISC_SOCKADDR_LEN_T based on _BSD_SOCKLEN_T_ if

                        it is defined.
parent de6ceebf
1615. [port] Define ISC_SOCKADDR_LEN_T based on _BSD_SOCKLEN_T_ if
it is defined.
1614. [placeholder] rt11101 1614. [placeholder] rt11101
1613. [placeholder] rt11119 1613. [placeholder] rt11119
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE. * 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> #include <config.h>
...@@ -62,8 +62,12 @@ ...@@ -62,8 +62,12 @@
* some as socklen_t. This is here so it can be easily changed if needed. * some as socklen_t. This is here so it can be easily changed if needed.
*/ */
#ifndef ISC_SOCKADDR_LEN_T #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 #define ISC_SOCKADDR_LEN_T unsigned int
#endif #endif
#endif
/* /*
* Define what the possible "soft" errors can be. These are non-fatal returns * Define what the possible "soft" errors can be. These are non-fatal returns
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment