From owner-freebsd-hackers Thu Jul 13 17:11:15 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from griffin.aciri.org (griffin.aciri.org [192.150.187.12]) by hub.freebsd.org (Postfix) with ESMTP id 0A98D37B8B4 for ; Thu, 13 Jul 2000 17:11:12 -0700 (PDT) (envelope-from wilbertdg@hetnet.nl) Received: from hetnet.nl (localhost.aciri.org [127.0.0.1]) by griffin.aciri.org (8.9.3/8.9.3) with ESMTP id RAA87041; Thu, 13 Jul 2000 17:11:10 -0700 (PDT) (envelope-from wilbertdg@hetnet.nl) Message-ID: <396E5A9E.E7CD05F1@hetnet.nl> Date: Thu, 13 Jul 2000 17:11:10 -0700 From: Wilbert de Graaf X-Mailer: Mozilla 4.73 [en] (X11; U; Linux 2.0.36 i386) X-Accept-Language: en MIME-Version: 1.0 To: Alfred Perlstein Cc: FreeBSD-hackers Subject: Re: #include question: requires References: <095401bfec6f$495ba110$0a00a8c0@alias> <20000712221526.L25571@fw.wintelcom.net> <396E49D4.DBBA9B5C@hetnet.nl> <20000713160251.Z25571@fw.wintelcom.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi Alfred, > you might as well unconditionally include sys/socket.h and let it's > internal #ifndef take care of that problem. you're right and i'll change it > I'm not sure why you don't just make your own new header file for > this struct unless you're adding to an existing structure in > socket.h, even if you are you can put whatever it is that you added > to netinet/in.h into a seperate header or sys/socket.h itself. The reason is that the structures, socket options have to be in whenever is included, since that's what's specified by that draft (which is good for portable code). - Wilbert To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message