Index | Thread | Search

From:
"Theo de Raadt" <deraadt@openbsd.org>
Subject:
Re: dt: Add missing include
To:
Christian Ludwig <christian_ludwig@genua.de>
Cc:
"tech@openbsd.org" <tech@openbsd.org>
Date:
Fri, 02 Feb 2024 13:42:43 -0700

Download raw body.

Thread
Christian Ludwig <christian_ludwig@genua.de> wrote:

> Hi,
> 
> On Fri, 2024-02-02 at 09:11 -0700, Theo de Raadt wrote:
> > In the kernel, this is handled by <sys/param.h> inclusion as the legacy
> > access pattern.
> 
> Thanks for the clarification. I was adding additional trace points to
> the kernel and found that some places miss this. So I better include
> <sys/param.h> there.

Userland should not include that anymore.  So a header file included by
userland shouldn't include it either.

Please re-read my mail.  Can you precisely describe what felt wrong to you?