[RFC PATCH] Fix sortextable building on non-Linux systems

2013-05-02 Thread Daniel Tang
The file scripts/sortextable.c fails to compile on non-Linux systems due to the missing 'linux/types.h' header. Unless I'm missing something obvious, including the standard 'inttypes.h' header instead and using uintX_t types instead of __uX types does the exact same job and doesn't break compi

[PATCH] Fix sortextable building on non-Linux systems

2013-04-07 Thread Daniel Tang
Hi, Is there any reason why 'tools/include/tools/be_byteshift.h' and 'tools/include/tools/le_byteshift.h' needs to include 'linux/types.h'? It breaks compilation of ARM kernels on OS X since sortextable, which uses those headers, fails to build because 'linux/types.h' doesn't exist. Included i