Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* */sys/sys/socket.h: use ALIGNBYTES, instead of sizeof(long) - 1,
for CMSG alignment. without it CMSG alignment is not spec conformant if ALIGNBYTES > sizeof(long) - 1. this add dependency from sys/socket.h to machine/param.h - which may not be right. NOTE: recompile all IPv6 userland, if you are on architecture with ALIGNBYTES != sizeof(long) - 1. TODO: make it future adaptable by using sysctl hw.alignbytes. (maybe for *bsd-current?)
- Loading branch information