log: remember to free output buffer when done
[fio.git] / lib / prio_tree.c
index e18ae324bac4200ee85b5ddda738f6fca006938a..d8e1b89a94038c2df63e2a0f7435f8184ecd2ba0 100644 (file)
  * 02Feb2004   Initial version
  */
 
+#include <assert.h>
 #include <stdlib.h>
 #include <limits.h>
-#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