Fix aiocb compile warnings on HPUX
[fio.git] / os / os.h
diff --git a/os/os.h b/os/os.h
index cd2bb523bb9ef931f27ea123c3e239bcdc035518..2eb38e87afda20dae2b52ebd65d1dfc146247e23 100644 (file)
--- a/os/os.h
+++ b/os/os.h
@@ -32,6 +32,9 @@
 
 #ifdef FIO_HAVE_POSIXAIO
 #include <aio.h>
+#ifndef FIO_OS_HAVE_AIOCB_TYPEDEF
+typedef struct aiocb os_aiocb_t;
+#endif
 #endif
 
 #ifdef FIO_HAVE_SGIO