X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=fio.h;h=393f381d249cdcdd542f9fe57da373511af6204b;hb=f00e43f2953d71cfc0fb21d704a473632d0b1ee4;hp=28198b9cbeffd99acf03c831c9ec0bbd1b7d0c89;hpb=f6e7d776d102b98702382cad02602235a2491e71;p=fio.git diff --git a/fio.h b/fio.h index 28198b9c..393f381d 100644 --- a/fio.h +++ b/fio.h @@ -20,7 +20,7 @@ struct thread_data; #include "thread_options.h" #include "flist.h" #include "fifo.h" -#include "rbtree.h" +#include "lib/rbtree.h" #include "arch/arch.h" #include "os/os.h" #include "mutex.h" @@ -551,4 +551,6 @@ static inline void td_io_u_free_notify(struct thread_data *td) extern const char *fio_get_arch_string(int); extern const char *fio_get_os_string(int); +#define ARRAY_SIZE(x) (sizeof((x)) / (sizeof((x)[0]))) + #endif