tools/sstrip: Fix compile under standard linux.
authorRosen Penev <rosenp@gmail.com>
Thu, 23 Nov 2017 21:18:07 +0000 (13:18 -0800)
committerJo-Philipp Wich <jo@mein.io>
Wed, 13 Dec 2017 12:17:35 +0000 (13:17 +0100)
commit2428b6d6b6dafd88bd184e6bd1eea6ba0a4305c0
tree5f9075dc12e35db9a63c62d0d98e410382ba7a3b
parent50b478956a70a99c4b1b0e16d1cf4c38e0ef5325
tools/sstrip: Fix compile under standard linux.

bswap32 undefined is the issue. Added the proper header. Also fixed a few format/conversion warnings that clang complained about without -Wall or -Wextra.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit d6e34b735201805ae9112a7997f15b80f5926942)
tools/sstrip/src/sstrip.c