Searched hist:68498 (Results 1 - 1 of 1) sorted by relevance
/freebsd-11-stable/sys/sys/ | ||
H A D | socket.h | diff 68498 Wed Nov 08 14:59:25 MST 2000 asmodai Fix CMSG and ALIGN macro usage. Previously we had to include <machine/param.h> or <sys/param.h> bogusly due to the fact that <sys/socket.h> CMSG macros needed the ALIGN macro, which was defined in param.h. However, including param.h was a disaster for namespace pollution. This solution, as contributed by shin a while ago, fixes it elegantly by wrapping the definitions around some namespace pollution preventer definitions. This patch was long overdue. This should allow any network programmer to use <sys/socket.h> as before. PR: 19971, 20530 Submitted by: Martin Kaeske <MartinKaeske@lausitz.net> Mark Andrews <Mark.Andrews@nominum.com> Patch submitted by: shin Reviewed by: bde |
Completed in 124 milliseconds