summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwtc <devnull@localhost>1998-05-07 15:43:43 +0000
committerwtc <devnull@localhost>1998-05-07 15:43:43 +0000
commit6802ea0abffcfd243bfa9cc22036a6394066b23d (patch)
tree6741a526dc119800e21476db203b2510b4df7e99
parent429db406b1d246ada91995b5d901596fabc43063 (diff)
downloadnspr-hg-6802ea0abffcfd243bfa9cc22036a6394066b23d.tar.gz
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.
-rw-r--r--pr/include/md/_bsdi.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/pr/include/md/_bsdi.h b/pr/include/md/_bsdi.h
index f420afeb..3e3eca9f 100644
--- a/pr/include/md/_bsdi.h
+++ b/pr/include/md/_bsdi.h
@@ -36,6 +36,7 @@
#define USE_DLFCN
#define HAVE_BSD_FLOCK
#define NEED_TIME_R
+#define _PR_HAVE_SOCKADDR_LEN
#if defined(BSDI_2)
#define PROT_NONE 0x0