diff options
author | Rostislav Skudnov <rostislav@tuxera.com> | 2018-01-22 15:57:15 +0000 |
---|---|---|
committer | Eryu Guan <eguan@redhat.com> | 2018-01-28 19:09:20 +0800 |
commit | dae4fcad54be5558c7ca93a9e88ce2bf609339ca (patch) | |
tree | 5ef0aae014f0873adc52e3e93f67902cf3cd9ceb | |
parent | 1b4f24662e7e4c7c6f40bc08f68124b78a6f02bd (diff) | |
download | xfstests-dae4fcad54be5558c7ca93a9e88ce2bf609339ca.tar.gz |
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 <rostislav@tuxera.com>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
-rw-r--r-- | src/metaperf.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/metaperf.c b/src/metaperf.c index d06b589114..5f5a971ab7 100644 --- a/src/metaperf.c +++ b/src/metaperf.c @@ -25,6 +25,7 @@ #include <string.h> #include <unistd.h> #include <dirent.h> +#include <linux/param.h> typedef void *(*fpi_t)(void); typedef void (*fpt_t)(int, void *); |