[issue1334] <net/bpf.h> should include <sys/ioccom.h>

Sascha Wildner saw at online.de
Wed Apr 15 05:09:44 PDT 2009


Guy Harris schrieb:
I might be tempted to move the declaration of ioctl() to sys/ioccom.h  
as well; you could then still include <sys/ioctl.h> to get it  
declared, but you also get it declared if you include some header that  
includes <sys/ioccom.h> and declares ioctls.
Hmm, I just checked..

DragonFly and FreeBSD do have the ioctl() declaration in <sys/ioccom.h> 
while Net and Open don't.

Sascha

--
http://yoyodyne.ath.cx




More information about the Bugs mailing list