X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=os%2Fos-linux.h;h=0d9829885b3be853f99de85e9431622c7c8a809a;hp=081f5d6c632b57ae322ff93e8d39d5c985b14e9e;hb=49758e11f3658686ccd1c61724a5eba142f3ee4f;hpb=7956f141c058cdd95f14491ee646b7f7951ab2ab diff --git a/os/os-linux.h b/os/os-linux.h index 081f5d6c..0d982988 100644 --- a/os/os-linux.h +++ b/os/os-linux.h @@ -7,6 +7,7 @@ #include #include #include +#include #include #include #include @@ -47,6 +48,10 @@ #define FIO_USE_GENERIC_INIT_RANDOM_STATE #define FIO_HAVE_E4_ENG +#ifdef MAP_HUGETLB +#define FIO_HAVE_MMAP_HUGE +#endif + /* * Can only enable this for newer glibcs, or the header and defines are * missing