From owner-freebsd-hackers Thu Dec 12 6:29: 3 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A6A4537B401 for ; Thu, 12 Dec 2002 06:29:02 -0800 (PST) Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11]) by mx1.FreeBSD.org (Postfix) with SMTP id 769F743EB2 for ; Thu, 12 Dec 2002 06:29:01 -0800 (PST) (envelope-from dwmalone@maths.tcd.ie) Received: from walton.maths.tcd.ie by salmon.maths.tcd.ie with SMTP id ; 12 Dec 2002 14:28:39 +0000 (GMT) Date: Thu, 12 Dec 2002 14:28:38 +0000 From: David Malone To: =?iso-8859-1?Q?J=F6rg?= Sonnenberger Cc: hackers@freebsd.org Subject: Re: Broken Message-ID: <20021212142838.GA36748@walton.maths.tcd.ie> References: <20021212144603.5751fcc7.joerg.sonnenberger@web.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20021212144603.5751fcc7.joerg.sonnenberger@web.de> User-Agent: Mutt/1.3.25i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, Dec 12, 2002 at 02:46:03PM +0100, Jörg Sonnenberger wrote: > I am porting terminal emulator from Linux to (Free-)BSD and got a nice > error message from #include . I am using FreeBSD-current. > This file uses int32_t without including stdint.h, so it fails if my sources > doesn't include the later. Is this behaviour intended or has noone tried > to do this before? In the FreeBSD world (and probably in the other BSDs) it is common to require people to include the prerequisit headers, rather than having them pulled in automatically. Having to include is the most common symptom of this. The prerequisits are documented in the man pages, so if you look at "man 5 utmp", it documents as a prerequisit for . The prerequisits are usually in accordance with POSIX, or some other standard. There is work in progress in FreeBSD 5 to make sure the headers are up to scratch in this respect. David. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message