src/dmiperf: Include sys/types.h for u_int32_t
authorRostislav Skudnov <rostislav@tuxera.com>
Mon, 22 Jan 2018 15:57:16 +0000 (15:57 +0000)
committerEryu Guan <eguan@redhat.com>
Sun, 28 Jan 2018 09:12:28 +0000 (17:12 +0800)
commit1b4f24662e7e4c7c6f40bc08f68124b78a6f02bd
tree924d81d16e064d938099ae695ac6274f2cfb64cf
parentf6c3b373bb53aba16002a823b7e6fe36e63c0f3b
src/dmiperf: Include sys/types.h for u_int32_t

u_int32_t type is defined in sys/types.h, which is often included by
glibc implicitly when some other headers are used, but other C
libraries such as musl may not necessarily do so, therefore an
explicit include is needed.

Signed-off-by: Rostislav Skudnov <rostislav@tuxera.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Eryu Guan <eguan@redhat.com>
src/dmiperf.c