aboutsummaryrefslogtreecommitdiff
path: root/lib/libradius
diff options
context:
space:
mode:
authorJeroen Ruigrok van der Werven <asmodai@FreeBSD.org>2000-11-08 16:59:25 +0000
committerJeroen Ruigrok van der Werven <asmodai@FreeBSD.org>2000-11-08 16:59:25 +0000
commit6b1d8ceabee0e9b0776203658ff54d73a0791071 (patch)
tree5c7d18e5a189be81ab079a0234875150741d1e6d /lib/libradius
parenta88d714c23f8277c07897656634d455d5ed19183 (diff)
downloadsrc-6b1d8ceabee0e9b0776203658ff54d73a0791071.tar.gz
src-6b1d8ceabee0e9b0776203658ff54d73a0791071.zip
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
Notes
Notes: svn path=/head/; revision=68498
Diffstat (limited to 'lib/libradius')
0 files changed, 0 insertions, 0 deletions