X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=os%2Fos-linux.h;h=e9d7cf3e6f6e0cf4af791bab019fc9faf9586e21;hp=9b7ff29e50af7f07d656cf3e763e7fafe409a669;hb=39b9356872f27c1a48a2ab09a5252dffd1de22d2;hpb=ec5c6b125c1eab992882602158bab54957aa733d diff --git a/os/os-linux.h b/os/os-linux.h index 9b7ff29e..e9d7cf3e 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