X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=lib%2Fprio_tree.c;h=de3fe1c025276bea0f34a5ee10ce8896ec662507;hb=40943b9ad6932f7dc02219192facfef5fc22cb1f;hp=e18ae324bac4200ee85b5ddda738f6fca006938a;hpb=c3afb7639f41e58e44481151e3aa4caa6be789f6;p=fio.git diff --git a/lib/prio_tree.c b/lib/prio_tree.c index e18ae324..de3fe1c0 100644 --- a/lib/prio_tree.c +++ b/lib/prio_tree.c @@ -13,9 +13,12 @@ #include #include -#include "../fio.h" + +#include "../compiler/compiler.h" #include "prio_tree.h" +#define ARRAY_SIZE(x) (sizeof((x)) / (sizeof((x)[0]))) + /* * A clever mix of heap and radix trees forms a radix priority search tree (PST) * which is useful for storing intervals, e.g, we can consider a vma as a closed