DragonFly bugs List (threaded) for 2009-04
DragonFly BSD
DragonFly bugs List (threaded) for 2009-04
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

<net/bpf.h> should include <sys/ioccom.h>


From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Mon, 13 Apr 2009 11:41:48 -0700

<net/bpf.h> defines ioctl codes, so it should include <sys/ioccom.h>, so it doesn't require code that includes <net/bpf.h> to also include <sys/ioccom.h> or a header that includes it. When I originally created <sys/ioccom.h> in SunOS 4.0, I intended it to be included by header files that defined ioctls, rather than by .c files.



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