Ticket #236: socket.diff
File socket.diff, 550 bytes (added by , 14 years ago) |
---|
-
sys/socket.h
diff -uNr sys/socket.h.org sys/socket.h
old new 387 387 (((caddr_t)(cmsg) + (cmsg)->cmsg_len + sizeof(struct cmsghdr) > \ 388 388 (mhdr)->msg_control + (mhdr)->msg_controllen) ? \ 389 389 (struct cmsghdr *)NULL : \ 390 (struct cmsghdr *)((caddr_t)(cmsg) + ALIGN((cmsg)->cmsg_len)))390 (struct cmsghdr *)((caddr_t)(cmsg) + _ALIGN((cmsg)->cmsg_len))) 391 391 392 392 #define CMSG_FIRSTHDR(mhdr) ((struct cmsghdr *)(mhdr)->msg_control) 393 393