src/metaperf: Include linux/param.h explicitly for HZ macro
authorRostislav Skudnov <rostislav@tuxera.com>
Mon, 22 Jan 2018 15:57:15 +0000 (15:57 +0000)
committerEryu Guan <eguan@redhat.com>
Sun, 28 Jan 2018 11:09:20 +0000 (19:09 +0800)
commitdae4fcad54be5558c7ca93a9e88ce2bf609339ca
tree5ef0aae014f0873adc52e3e93f67902cf3cd9ceb
parent1b4f24662e7e4c7c6f40bc08f68124b78a6f02bd
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>
src/metaperf.c