From owner-freebsd-hackers@FreeBSD.ORG Sat Feb 5 19:34:24 2011 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 194FD1065672 for ; Sat, 5 Feb 2011 19:34:24 +0000 (UTC) (envelope-from yanegomi@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 9BE398FC14 for ; Sat, 5 Feb 2011 19:34:23 +0000 (UTC) Received: by wwf26 with SMTP id 26so3406379wwf.31 for ; Sat, 05 Feb 2011 11:34:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=NvatjbvRQQyauG2pqQ2kOEiT4Auvcw2bOecTXpIXfZs=; b=EfBziKrlpmEwZILuydUPS859OE1HWIewXOBpqxEFA0sFIacAJ7BGOUiV/AVkTNKUmW NsnuDfJAGyKjhPSzUnxtKRyP0jZkBuj1Tsxc9VW8u1njIvr0woFAAmZINbLzzWPEZqdK G+XbSZ9AAL9Ly0aCRl3TUdTxMzAdd0NpiMS68= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=hUDWEWEAz50TsEejBR9CwiNH0ZFOCLm/M3pz9WZseS4IO6FBaB3e6ZgLhWt+GmBksi e4jzq/nJibqXguxfe0LLzgWssm5QbJXpiRXJWHP26HyWyfzjIpOPG3MKwuJx8OLtePD2 PdsO3tG71GnQi7fLsnfFSLs8LMAjb65VJuxqE= MIME-Version: 1.0 Received: by 10.216.51.130 with SMTP id b2mr12748531wec.42.1296934462362; Sat, 05 Feb 2011 11:34:22 -0800 (PST) Received: by 10.216.71.200 with HTTP; Sat, 5 Feb 2011 11:34:22 -0800 (PST) In-Reply-To: <87vd0ys2no.fsf@gmail.com> References: <87vd0ys2no.fsf@gmail.com> Date: Sat, 5 Feb 2011 11:34:22 -0800 Message-ID: From: Garrett Cooper To: Raphael Kubo da Costa Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-hackers@freebsd.org Subject: Re: Missing stdint.h includes? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Feb 2011 19:34:24 -0000 On Sat, Feb 5, 2011 at 11:27 AM, Raphael Kubo da Costa wrote: > Hey there, > > I was working on some code that used devinfo(3). According to devinfo's > man page, #including devinfo.h should be enough to use it. However, a > program which only #includes devinfo.h fails due to stdint.h (or > sys/types.h) not being included, thus giving me some errors about > uint32_t and other types not being defined. > > A few headers in sys/, such as sys/rman.h, have the same problem. > > Is it a bug in the headers themselves or are the man pages just > incorrect? I'd say it's the manpages probably because a lot of the types were changed to POSIX integral types, and the manpages weren't updated. Thanks! -Garrett