#include "os-solaris.h"
#elif defined(__APPLE__)
#include "os-mac.h"
+#elif defined(_AIX)
+#include "os-aix.h"
#else
#error "unsupported os"
#endif
#include "../lib/strsep.h"
#endif
+#ifdef MSG_DONTWAIT
+#define OS_MSG_DONTWAIT MSG_DONTWAIT
+#endif
+
#ifndef FIO_HAVE_FADVISE
#define fadvise(fd, off, len, advice) (0)
}
#endif
+#ifndef FIO_HAVE_FS_STAT
+static inline unsigned long long get_fs_size(const char *path)
+{
+ return 0;
+}
+#endif
+
#endif