]> git.karo-electronics.de Git - karo-tx-linux.git/commit
scripts/sortextable.c: fix building on non-Linux systems
authorDaniel Tang <dt.tangr@gmail.com>
Thu, 27 Jun 2013 23:54:25 +0000 (09:54 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 28 Jun 2013 06:39:15 +0000 (16:39 +1000)
commitf53ea4153a0a810747a2bf4c69e61f2970f78aa5
tree76fb6fe5bc2a3352cdda19ff47ecab0f1b2942d1
parent9cfdcfb1cda0c115baf7bcbfb6f676f43ac3b6eb
scripts/sortextable.c: fix building on non-Linux systems

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 compilation on non-Linux systems.

Signed-off-by: Daniel Tang <dt.tangr@gmail.com>
Cc: Matt Fleming <matt.fleming@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
tools/include/tools/be_byteshift.h
tools/include/tools/le_byteshift.h