Fixed Bugzilla bug #235: Define the macro _PR_HAVE_SOCKADDR_LEN to
authorwtc
Thu, 07 May 1998 15:43:43 +0000
changeset 101 f8f3682d20994b50493fa792810f767f309df7b3
parent 100 1b2527075933489fb7dc00f1d64c6f3f81cd966e
child 102 d63f71892375b3109f882f1b0c4d23d1e916f1ae
push idunknown
push userunknown
push dateunknown
bugs235
Fixed Bugzilla bug #235: Define the macro _PR_HAVE_SOCKADDR_LEN to indicate that struct sockaddr_in on BSD/OS has a sa_len field. The code in unix.c checks this macro. We acknowledge Bert Driehuis <driehuis@playbeing.com> for reporting the bug and suggesting a fix.
pr/include/md/_bsdi.h
--- a/pr/include/md/_bsdi.h
+++ b/pr/include/md/_bsdi.h
@@ -31,16 +31,17 @@
 #define _PR_STACK_VMBASE	0x50000000
 #define _MD_DEFAULT_STACK_SIZE	65536L
 #define _MD_MMAP_FLAGS          MAP_PRIVATE
 
 #define	HAVE_DLL
 #define USE_DLFCN
 #define HAVE_BSD_FLOCK
 #define NEED_TIME_R
+#define _PR_HAVE_SOCKADDR_LEN
 
 #if defined(BSDI_2)
 #define PROT_NONE 0x0
 #endif
 
 #define USE_SETJMP
 
 #include <setjmp.h>