kbuild: Use inttypes.h when stdint.h are not available
The following is from Jean-Christophe Dubois <jdubois@mc.com>. On Solaris 2.8, <stdint.h> does not exist, but <inttypes.h> does. However, on Cygwin (the other odd place that the kernel is compiled on) <inttypes.h> doesn't exist. So we end up testing for __sun__ and using <inttypes.h> there, and <stdint.h> everywhere else. Signed-off-by: Tom Rini <trini@kernel.crashing.org> Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Showing
Please register or sign in to comment