Fix build/compile for non-blktrace platforms
[fio.git] / fio.h
diff --git a/fio.h b/fio.h
index 9a43c6f65edc05c64a5f3e3d6879b7599c068de7..2104e3a9325dd2456c2dfe91a6837c5c9d08a9c8 100644 (file)
--- a/fio.h
+++ b/fio.h
@@ -826,8 +826,10 @@ extern void td_io_close_file(struct thread_data *, struct fio_file *);
 /*
  * blktrace support
  */
+#ifdef FIO_HAVE_BLKTRACE
 extern int is_blktrace(const char *);
 extern int load_blktrace(struct thread_data *, const char *);
+#endif
 
 /*
  * If logging output to a file, stderr should go to both stderr and f_err