Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 05 Feb 2011 17:27:07 -0200
From:      Raphael Kubo da Costa <kubito@gmail.com>
To:        freebsd-hackers@freebsd.org
Subject:   Missing stdint.h includes?
Message-ID:  <87vd0ys2no.fsf@gmail.com>

next in thread | raw e-mail | index | archive | help
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?




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87vd0ys2no.fsf>