From owner-freebsd-doc Wed May 10 23:50:22 2000 Delivered-To: freebsd-doc@freebsd.org Received: from news.IAEhv.nl (news.IAE.nl [194.151.64.4]) by hub.freebsd.org (Postfix) with ESMTP id 32E7237B8D5 for ; Wed, 10 May 2000 23:50:19 -0700 (PDT) (envelope-from marc@bowtie.nl) Received: (from uucp@localhost) by news.IAEhv.nl (8.9.1/8.9.1) with IAEhv.nl id IAA05804; Thu, 11 May 2000 08:50:06 +0200 (MET DST) Received: from localhost (localhost [127.0.0.1]) by bowtie.nl (8.8.8/8.8.8) with ESMTP id IAA11139; Thu, 11 May 2000 08:45:12 +0200 (CEST) (envelope-from marc@bowtie.nl) Message-Id: <200005110645.IAA11139@bowtie.nl> X-Mailer: exmh version 2.0.2 2/24/98 To: Jeroen Ruigrok van der Werven Cc: Marc van Kempen , Sheldon Hearn , doc@FreeBSD.ORG Subject: Re: ALIGN() macro In-reply-to: jruigrok's message of Wed, 10 May 2000 19:42:22 +0200. <20000510194221.B20181@lucifer.bart.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 11 May 2000 08:45:12 +0200 From: Marc van Kempen Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > -On [20000509 12:40], Marc van Kempen (marc@bowtie.nl) wrote: > >> > >> > >> Um, what happens when you include and as > >> directed by the documentation? > >> > >Not much, those two files were included already and apparently don't > >pickup > > Try substituting sys/param.h for sys/types.h > Sorry, I misunderstood you, still my argument stands, just replace with It is still unclear from the documentation what should be done. Here is the test program again. #include #include 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