From dae4fcad54be5558c7ca93a9e88ce2bf609339ca Mon Sep 17 00:00:00 2001 From: Rostislav Skudnov Date: Mon, 22 Jan 2018 15:57:15 +0000 Subject: [PATCH] src/metaperf: Include linux/param.h explicitly for HZ macro Glibc includes linux/param.h when we include sys/param.h, whereas musl libc does not do that. HZ is a Linux-specific macro, therefore include the header file that defines it explicitly. Signed-off-by: Rostislav Skudnov Reviewed-by: Eryu Guan Signed-off-by: Eryu Guan --- src/metaperf.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/metaperf.c b/src/metaperf.c index d06b5891..5f5a971a 100644 --- a/src/metaperf.c +++ b/src/metaperf.c @@ -25,6 +25,7 @@ #include #include #include +#include typedef void *(*fpi_t)(void); typedef void (*fpt_t)(int, void *); -- 2.47.3