Subject: pkg/20969: net/ORBit/patches/patch-an needs IOV_MAX defined
To: None <>
From: None <>
List: netbsd-bugs
Date: 03/31/2003 15:43:35
>Number:         20969
>Category:       pkg
>Synopsis:       net/ORBit/patches/patch-an needs IOV_MAX defined
>Confidential:   yes
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Mon Mar 31 15:44:00 PST 2003
>Release:        NetBSD 1.6
System: NetBSD 1.6 NetBSD 1.6 (JCR-20020927) #3: Sat Sep 28 13:40:20 PDT 2002 i386
Architecture: i386
Machine: i386
I had last built and install ORBit-0.5.15nb2 under Linux at the end of
November. Building it now fails:

giop-msg-buffer.c:213: `IOV_MAX' undeclared (first use in this function)

I see that the patch-an was changed for this in January.

IOV_MAX is defined on my box in GLIBC's /usr/include/bits/stdio_lim.h.
#if defined __need_IOV_MAX && !defined IOV_MAX
# define IOV_MAX 1024 

Maybe __need_IOV_MAX needs to be defined?
(My workaround was to define IOV_MAX in patch-an.)