mirror of
https://github.com/isc-projects/bind9.git
synced 2026-04-25 08:07:12 -04:00
minor change to make certain 'on' is defined. This used to be used only by USE_CMSG, but is also used to turn on BSD compatibility, so test on SO_BSDCOMPAT too.
This commit is contained in:
parent
b111b8527b
commit
53b63f5467
1 changed files with 2 additions and 2 deletions
|
|
@ -15,7 +15,7 @@
|
|||
* SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: socket.c,v 1.143 2000/06/26 17:48:26 explorer Exp $ */
|
||||
/* $Id: socket.c,v 1.144 2000/06/26 18:20:25 explorer Exp $ */
|
||||
|
||||
#include <config.h>
|
||||
|
||||
|
|
@ -1111,7 +1111,7 @@ isc_socket_create(isc_socketmgr_t *manager, int pf, isc_sockettype_t type,
|
|||
{
|
||||
isc_socket_t *sock = NULL;
|
||||
isc_result_t ret;
|
||||
#if defined(USE_CMSG)
|
||||
#if defined(USE_CMSG) || defined(SO_BSDCOMPAT)
|
||||
int on = 1;
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue