Date: Tue, 21 Mar 2000 14:38:11 +0600 (NOVT) From: Nickolay Dudorov <nnd@mail.nsk.ru> To: current@freebsd.org Subject: 'machine/param.h' required for 'sys/socket.h' Message-ID: <200003210838.OAA01544@wint.itfs.nsk.su>
next in thread | raw e-mail | index | archive | help
After the following commit: >shin 2000/03/03 03:13:13 PST > > Modified files: > lib/libc/net rthdr.c > sys/sys socket.h > sys/kern uipc_socket2.c > sys/netinet6 ip6_output.c > usr.bin/telnet commands.c > sbin/ping ping.c > Log: > CMSG_XXX macros alignment fixes to follow RFC2292. > > Approved by: jkh > > Submitted by: Partly from tech@openbsd > Reviewed by: itojun > > Revision Changes Path > 1.2 +19 -7 src/lib/libc/net/rthdr.c > 1.38 +8 -13 src/sys/sys/socket.h > 1.55 +4 -5 src/sys/kern/uipc_socket2.c > 1.12 +3 -3 src/sys/netinet6/ip6_output.c > 1.21 +13 -15 src/usr.bin/telnet/commands.c > 1.52 +2 -2 src/sbin/ping/ping.c 'sys/scocket.h' header file start using ALIGN macro defined in 'machine/param.h' header file while the man page for "socket" only mentioned 'sys/types.h' as the prerequisite for 'sys/socket.h'. As a result the 'net/pchar' port is now broken. What must be done to solve this ? Is it possible to '#include <sys/param.h>' in 'sys/socket.h' OR the man page must be corrected to explicitly state 'param.h' (sys/ or machine/ ?) as the prerequisite to 'sys/socket.h' and all the programms using it patched accordingly ? N.Dudorov To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200003210838.OAA01544>