In various messages, Francis Bouchard wrote: I need it [systm.h] for vsprintf ... Actually, this is on a debug build only. This allow us to have a plat-form independent core code and to have debugging information. All this should be disabled (or more than 95% of those things) in retail mode. We actually really need the variable argument method. If you can tell me in which IOKit header I can find it, I will be happy to conform to the IOKit! (but I did not find any) I/O Kit does not wrap all the various functions in the kernel. For this reason, it is expected that IOKit drivers will sometimes need to include non-IOKit kernel headers. I/O Kit does not have a wrapper for vsprintf(), so if you need it, including systm.h appears to be the right thing to do. I've personally used systm.h in an IOKit kext without any problems (though not recently). I don't know why you are encountering the include problem you described, we'll take a look at it when we get a chance... - Dean _______________________________________________ darwin-kernel mailing list | darwin-kernel@lists.apple.com Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-kernel Do not post admin requests to the list. They will be ignored.