From e69d8385f127899e2bee6d816e0187072813ed8c Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Wed, 24 Aug 2022 15:05:32 -0700 Subject: [PATCH] Linux: Use the byte order functions from Prepare for the unification of the Linux and Android header files by switching to the functions for Linux. Signed-off-by: Bart Van Assche --- os/os-linux.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/os/os-linux.h b/os/os-linux.h index 4a05a775..84d1e331 100644 --- a/os/os-linux.h +++ b/os/os-linux.h @@ -17,6 +17,7 @@ #include #include #include +#include #ifdef ARCH_HAVE_CRC_CRYPTO #include @@ -50,6 +51,7 @@ #define FIO_HAVE_TRIM #define FIO_HAVE_GETTID #define FIO_USE_GENERIC_INIT_RANDOM_STATE +#define FIO_HAVE_BYTEORDER_FUNCS #define FIO_HAVE_PWRITEV2 #define FIO_HAVE_SHM_ATTACH_REMOVED -- 2.25.1