readmmap.c: fix building with MUSL libc
glibc includes sys/types.h from stdlib.h. This is not the case for MUSL, so explicitly include it. Fixes usage of uint_t. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Zach Dykstra <dykstra.zachary@gmail.com> Closes #15130
This commit is contained in:
parent
114a39964f
commit
fcd61d937f
|
@ -44,6 +44,7 @@
|
|||
#include <fcntl.h>
|
||||
#include <errno.h>
|
||||
#include <sys/mman.h>
|
||||
#include <sys/types.h>
|
||||
#include <time.h>
|
||||
|
||||
int
|
||||
|
|
Loading…
Reference in New Issue