Merge branch 'master' of https://github.com/bvanassche/fio
[fio.git] / workqueue.h
index 1961b2ae8b631eba3d70b5e791e5b6f387a429d0..0a62b5f7d38d1868e63c47fa493c8324a30e042f 100644 (file)
@@ -1,7 +1,14 @@
 #ifndef FIO_RATE_H
 #define FIO_RATE_H
 
+#include <inttypes.h>
+#include <pthread.h>
+
 #include "flist.h"
+#include "lib/types.h"
+
+struct sk_out;
+struct thread_data;
 
 struct workqueue_work {
        struct flist_head list;
@@ -16,7 +23,7 @@ struct submit_worker {
        unsigned int index;
        uint64_t seq;
        struct workqueue *wq;
-       void *private;
+       void *priv;
        struct sk_out *sk_out;
 };