From 53b63f5467e666dd1d0ba0076ac8cd1ff7e170db Mon Sep 17 00:00:00 2001 From: Michael Graff Date: Mon, 26 Jun 2000 18:20:25 +0000 Subject: [PATCH] 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. --- lib/isc/unix/socket.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/isc/unix/socket.c b/lib/isc/unix/socket.c index b09af34371..29c48a2cc2 100644 --- a/lib/isc/unix/socket.c +++ b/lib/isc/unix/socket.c @@ -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 @@ -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