From: Rostislav Skudnov Date: Mon, 22 Jan 2018 15:57:16 +0000 (+0000) Subject: src/dmiperf: Include sys/types.h for u_int32_t X-Git-Tag: v2022.05.01~1675 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=1b4f24662e7e4c7c6f40bc08f68124b78a6f02bd;p=xfstests-dev.git 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 Reviewed-by: Christoph Hellwig Signed-off-by: Eryu Guan --- diff --git a/src/dmiperf.c b/src/dmiperf.c index 245e529c..359324ac 100644 --- a/src/dmiperf.c +++ b/src/dmiperf.c @@ -16,6 +16,7 @@ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#include #include #include #include