X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=os%2Fos-openbsd.h;h=70f58b49ce3572a9f24b414a998ed79e6ab32a49;hb=051382218cbe5101a5caa83eab55ed04608f8475;hp=d874ee2539e7d574f4898338c4d8f823c942cc93;hpb=29ac257cb18a38c20f970bd02f2bfb3a027309d5;p=fio.git diff --git a/os/os-openbsd.h b/os/os-openbsd.h index d874ee25..70f58b49 100644 --- a/os/os-openbsd.h +++ b/os/os-openbsd.h @@ -9,24 +9,22 @@ #include #include #include +#include #include -/* XXX hack to avoid conflicts between rbtree.h and */ #include + +/* XXX hack to avoid conflicts between rbtree.h and */ #undef RB_BLACK #undef RB_RED #undef RB_ROOT #include "../file.h" -#undef FIO_HAVE_ODIRECT -#define FIO_USE_GENERIC_RAND #define FIO_USE_GENERIC_INIT_RANDOM_STATE #define FIO_HAVE_FS_STAT #define FIO_HAVE_GETTID #define FIO_HAVE_SHM_ATTACH_REMOVED -#undef FIO_HAVE_CPU_AFFINITY /* doesn't exist */ - #define OS_MAP_ANON MAP_ANON #ifndef PTHREAD_STACK_MIN