NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/41200: <net/bpf.h> should include <sys/ioccom.h>

>Number:         41200
>Category:       kern
>Synopsis:       <net/bpf.h> should include <sys/ioccom.h>
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Apr 13 18:35:00 +0000 2009
>Originator:     Guy Harris
>Release:        top of tree
<net/bpf.h> defines ioctls, so it should include <sys/ioccom.h>, so that code 
that includes it doesn't have to include <sys/ioccom.h> itself beforehand or 
include something that includes <sys/ioccom.h>.  When I originally created 
<sys/ioccom.h> in SunOS 4.0, I intended it to be included by headers that 
defined ioctls, rather than by .c files.


Home | Main Index | Thread Index | Old Index