X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=os%2Fos-hpux.h;h=821c91690b12c8165488c5d2e99170d98a77e1af;hp=43098ad72d86fcc40d6d8c2860d7fa62722d3b6d;hb=15cf40b2844caad4cf8da0cdaeddd132cd6adefc;hpb=901ebe18bdca90032e2fe107a1410385da80d18b diff --git a/os/os-hpux.h b/os/os-hpux.h index 43098ad7..821c9169 100644 --- a/os/os-hpux.h +++ b/os/os-hpux.h @@ -1,6 +1,8 @@ #ifndef FIO_OS_HPUX_H #define FIO_OS_HPUX_H +#define FIO_OS os_hpux + #include #include #include @@ -20,6 +22,7 @@ #define FIO_HAVE_POSIXAIO #define FIO_HAVE_ODIRECT #define FIO_USE_GENERIC_RAND +#define FIO_USE_GENERIC_INIT_RANDOM_STATE #define FIO_HAVE_CLOCK_MONOTONIC #define FIO_HAVE_PSHARED_MUTEX #define FIO_HAVE_FADVISE @@ -55,6 +58,9 @@ #define FIO_OS_HAVE_AIOCB_TYPEDEF typedef struct aiocb64 os_aiocb_t; +#define FIO_OS_HAVE_SOCKLEN_T +typedef int fio_socklen_t; + static inline int blockdev_invalidate_cache(struct fio_file *f) { return EINVAL;