...and here's a diff for discussion that removes the sa_family_t and
socklen_t typedefs from sys/types.h, transferring them to sys/socket.h and
duping them in netinet/in.h, netinet6/in6.h, and sys/un.h as necessary.
There are only two user-land fixes necessary for a build with this, in
sasyncd
the sa_family_t and
socklen_t typedefs from sys/types.h, transferring them to sys/socket.h and
duping them in netinet/in.h, netinet6/in6.h, and sys/un.h as necessary.
There are only two user-land fixes necessary for a build with this, in
sasyncd and bind (the latter in the locally written privsep bits
On Sat, Nov 20, 2010 at 9:18 AM, Mark Kettenis mark.kette...@xs4all.nl
wrote:
openbsd is apparently among the last operating systems to require
sys/types.h before sys/socket.h. posix doesn't require this and it runs
contrary to current recommendations i think, so it's just one more weird
On Sat, Nov 20, 2010 at 11:54 AM, Ted Unangst ted.unan...@gmail.com wrote:
On Sat, Nov 20, 2010 at 9:18 AM, Mark Kettenis mark.kette...@xs4all.nl
wrote:
openbsd is apparently among the last operating systems to require
sys/types.h before sys/socket.h. posix doesn't require this and it runs
sys/types.h before sys/socket.h. posix doesn't require this and it
runs
contrary to current recommendations i think, so it's just one more
weird
thing to deal with when trying to get something to compile.
i haven't really tested this, i'm just throwing it out there.
Sorry, but blindly