Commit 53b63f54 authored by Michael Graff's avatar Michael Graff
Browse files

minor change to make certain 'on' is defined. This used to be used only by...

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.
parent b111b852
......@@ -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
......
Supports Markdown
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