> 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 > 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 including <sys/types.h> isn't allowed by POSIX.