From owner-freebsd-bugs Fri Dec 8 11:58:20 2000 From owner-freebsd-bugs@FreeBSD.ORG Fri Dec 8 11:58:19 2000 Return-Path: <owner-freebsd-bugs@FreeBSD.ORG> Delivered-To: freebsd-bugs@freebsd.org Received: from prism.flugsvamp.com (cb58709-a.mdsn1.wi.home.com [24.17.241.9]) by hub.freebsd.org (Postfix) with ESMTP id 96F7937B400 for <bugs@freebsd.org>; Fri, 8 Dec 2000 11:58:18 -0800 (PST) Received: (from jlemon@localhost) by prism.flugsvamp.com (8.11.0/8.11.0) id eB8JtVr89597; Fri, 8 Dec 2000 13:55:31 -0600 (CST) (envelope-from jlemon) Date: Fri, 8 Dec 2000 13:55:31 -0600 (CST) From: Jonathan Lemon <jlemon@flugsvamp.com> Message-Id: <200012081955.eB8JtVr89597@prism.flugsvamp.com> To: marck@rinet.ru, bugs@freebsd.org Subject: Re: FreeBSD-stable (4.x). netinet/in.h X-Newsgroups: local.mail.freebsd-bugs In-Reply-To: <local.mail.freebsd-bugs/Pine.BSF.4.21.0012082018590.11640-100000@woozle.rinet.ru> Organization: Cc: Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In article <local.mail.freebsd-bugs/Pine.BSF.4.21.0012082018590.11640-100000@woozle.rinet.ru> you write: >Hi there colleagues, > >I found that before including netinet/in.h developer _must_ include >sys/types.h before, or your source is not compilable. Is it >intentional? :) In general yes; the caller is expected to #include the appropriate prerequisite files. Otherwise every .h file in the kernel would be includeing <sys/types.h>, <sys/param.h>, and the like. -- Jonathan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message