From 6e675fcb0886d989b327bdb6a0a8717f345221cb Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Tue, 4 Oct 2011 13:56:06 +0200 Subject: [PATCH 1/1] HPUX endianness Signed-off-by: Jens Axboe --- os/os-hpux.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/os/os-hpux.h b/os/os-hpux.h index 4353a019..ae3d6f28 100644 --- a/os/os-hpux.h +++ b/os/os-hpux.h @@ -13,6 +13,7 @@ #include #include #include +#include #include "../file.h" @@ -43,6 +44,12 @@ #define MSG_WAITALL 0x40 #endif +#ifdef LITTLE_ENDIAN +#define FIO_LITTLE_ENDIAN +#else +#define FIO_BIG_ENDIAN +#endif + #define FIO_OS_HAVE_AIOCB_TYPEDEF typedef struct aiocb64 os_aiocb_t; -- 2.25.1