I agree. The problem that brought it to my attention was that usbutils
(from http://usb.in.tum.de/download/usbutils by Thomas Sailer) doesn't
compile because including those 3 files (the last 3) introduces errors
when __KERNEL__ isn't defined, because files that they include do depend
on __KERNEL__ being defined. The first 3 (types.h, ioctl.h, and
version.h) didn't cause compile time errors but you are right they should
be too.
On Sun, 26 Mar 2000, Randy Dunlap wrote:
Hi,
And why just these 3? Why not the other 3 that are not
inside the #ifdef __KERNEL_ also?
(being <linux/types.h>, <linux/ioctl.h>, and <linux/version.h>)
They are all ONLY for the kernel, aren't they?
~Randy
Dan Streetman wrote:
>
> In the file include/linux/usb.h shouldn't the lines
>
> #include <linux/sched.h>
> #include <linux/delay.h>
> #include <linux/interrupt.h>
>
> be inside the
>
> #ifdef __KERNEL__
>
> block?
>
> Dan Streetman
> [EMAIL PROTECTED]
> ---------------------
--
Dan Streetman
[EMAIL PROTECTED]
---------------------
186,272 miles per second:
It isn't just a good idea, it's the law!
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]