Shouldn't this be <sys/errno.h> instead?

IMO, pulling in <sys/param.h> implicitly is generally harmful (there is a lot 
of namespace pollution there...)

> On Nov 19, 2018, at 9:23 AM, Maya Rashish <m...@netbsd.org> wrote:
> 
> Module Name:  src
> Committed By: maya
> Date:         Mon Nov 19 09:23:05 UTC 2018
> 
> Modified Files:
>       src/sys/dev: audio_dai.h
> 
> Log Message:
> include sys/param.h for EINVAL used in this header.
> 
> (Make it more standalone)
> 
> 
> To generate a diff of this commit:
> cvs rdiff -u -r1.2 -r1.3 src/sys/dev/audio_dai.h
> 
> Please note that diffs are not public domain; they are subject to the
> copyright notices on the relevant files.
> 

-- thorpej

Reply via email to