From: Jens Axboe Date: Tue, 4 Oct 2011 11:56:06 +0000 (+0200) Subject: HPUX endianness X-Git-Tag: fio-1.99~25 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=6e675fcb0886d989b327bdb6a0a8717f345221cb;p=fio.git HPUX endianness Signed-off-by: Jens Axboe --- 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;