From owner-freebsd-hackers@FreeBSD.ORG Sat Feb 5 19:30:11 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 8D33E1065673 for ; Sat, 5 Feb 2011 19:30:11 +0000 (UTC) (envelope-from freebsd-hackers@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id 5A92F8FC0C for ; Sat, 5 Feb 2011 19:30:05 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Plnpc-0005Vl-3t for freebsd-hackers@freebsd.org; Sat, 05 Feb 2011 20:30:04 +0100 Received: from 189.61.208.111 ([189.61.208.111]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 05 Feb 2011 20:30:04 +0100 Received: from kubito by 189.61.208.111 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 05 Feb 2011 20:30:04 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-hackers@freebsd.org From: Raphael Kubo da Costa Date: Sat, 05 Feb 2011 17:27:07 -0200 Lines: 12 Message-ID: <87vd0ys2no.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 189.61.208.111 User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.2 (berkeley-unix) Cancel-Lock: sha1:Vpk9EoHocUrmaeZn3zajwkW7y2U= Subject: 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:30:11 -0000 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?