Date: Thu, 11 May 2000 08:45:12 +0200 From: Marc van Kempen <marc@bowtie.nl> To: Jeroen Ruigrok van der Werven <jruigrok@via-net-works.nl> Cc: Marc van Kempen <marc@bowtie.nl>, Sheldon Hearn <sheldonh@uunet.co.za>, doc@FreeBSD.ORG Subject: Re: ALIGN() macro Message-ID: <200005110645.IAA11139@bowtie.nl> In-Reply-To: jruigrok's message of Wed, 10 May 2000 19:42:22 %2B0200. <20000510194221.B20181@lucifer.bart.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
> -On [20000509 12:40], Marc van Kempen (marc@bowtie.nl) wrote: > >> > >> > >> Um, what happens when you include <sys/types.h> and <sys/socket.h> as > >> directed by the documentation? > >> > >Not much, those two files were included already and apparently don't > >pickup <machine/param.h> > > Try substituting sys/param.h for sys/types.h > Sorry, I misunderstood you, still my argument stands, just replace <machine/param.h> with <sys/param.h> It is still unclear from the documentation what should be done. Here is the test program again. #include <sys/param.h> #include <sys/socket.h> int main(int argc, char **argv) { struct msghdr msg; unsigned char *data; data = CMSG_DATA(&msg); return(0); } This does compile. Marc. -- ---------------------------------------------------- Marc van Kempen BowTie Technology Email: marc@bowtie.nl WWW & Databases tel. +31 40 2 43 20 65 fax. +31 40 2 44 21 86 http://www.bowtie.nl ---------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200005110645.IAA11139>