HPUX endianness
authorJens Axboe <axboe@kernel.dk>
Tue, 4 Oct 2011 11:56:06 +0000 (13:56 +0200)
committerJens Axboe <axboe@kernel.dk>
Tue, 4 Oct 2011 11:56:06 +0000 (13:56 +0200)
Signed-off-by: Jens Axboe <axboe@kernel.dk>
os/os-hpux.h

index 4353a0199aa64c5c857613d9bc4b1c7331e7f45f..ae3d6f2864c770879447abc71f33e5e72450dd00 100644 (file)
@@ -13,6 +13,7 @@
 #include <sys/pstat.h>
 #include <time.h>
 #include <aio.h>
+#include <arm.h>
 
 #include "../file.h"
 
 #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;