On Sat, Sep 22, 2012 at 1:01 PM, Theo de Raadt <dera...@cvs.openbsd.org> wrote:
>> Only concern I have is whether #include <machine/cpu.h> could have
>> side-effects on architectures I don't know of (which, admittedly, is
>> quite a few).
>
> it is a bad idea to pull machine/ header files.

It's also the documented method of getting the defines for the sysctl
nodes under CTL_HW: c.f., both sysctl(3) and sysctl(8).  That actually
seems appropriate for this.


Philip Guenther

Reply via email to