[PATCH] Compile and works on OpenSolaris (tested on BeleniX)
diff --git a/os-linux.h b/os-linux.h
index f9094cb..5f0ef82 100644
--- a/os-linux.h
+++ b/os-linux.h
@@ -16,6 +16,7 @@
 #define FIO_HAVE_IOPRIO
 #define FIO_HAVE_SPLICE
 #define FIO_HAVE_IOSCHED_SWITCH
+#define FIO_HAVE_ODIRECT
 
 #define OS_MAP_ANON		(MAP_ANONYMOUS)