That's not the problem, I think. Most of time.h, including the
definition of mktime, is #ifdef __KERNEL__, so it shouldn't be
breaking anything in userland even if you do include it. And you
might, in order to obtain the interface definition of struct
timespec. What's weird is: why is __KERNEL__ getting #defined in
Rick's userland?
There can't, of course, be any blanket prohibition against using
kernel headers in userland. Think about ioctl.h, for example.
-- /Jonathan Lundell. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/