A few HP-UX fixes
[fio.git] / os / os-hpux.h
index 3c90841022575c75706b558fad627615db3e72a3..38a1441db292627379ab2f301daea5979e92e27c 100644 (file)
@@ -9,6 +9,8 @@
 #include <sys/mman.h>
 #include <sys/mpctl.h>
 #include <sys/scsi.h>
+#include <time.h>
+#include <aio.h>
 
 #include "../file.h"
 
 #define POSIX_MADV_RANDOM      MADV_RANDOM
 #define posix_madvise(ptr, sz, hint)   madvise((ptr), (sz), (hint))
 
+#ifndef CLOCK_MONOTONIC
+#define CLOCK_MONOTONIC                CLOCK_REALTIME
+#endif
+
+#ifndef MSG_WAITALL
+#define MSG_WAITALL    0x40
+#endif
+
 static inline int blockdev_invalidate_cache(struct fio_file *f)
 {
        return EINVAL;