From 1b4f24662e7e4c7c6f40bc08f68124b78a6f02bd Mon Sep 17 00:00:00 2001 From: Rostislav Skudnov Date: Mon, 22 Jan 2018 15:57:16 +0000 Subject: [PATCH] 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 --- src/dmiperf.c | 1 + 1 file changed, 1 insertion(+) 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 -- 2.47.3