From ebaf4d7a723854a318ea612ff1d6ea78b70820cc Mon Sep 17 00:00:00 2001 From: Vitaliy Filippov Date: Mon, 31 Jan 2022 23:39:11 +0300 Subject: [PATCH] Fix compatibility with fio 3.28+ --- src/fio_headers.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fio_headers.h b/src/fio_headers.h index f4ea09532..c0c4fa262 100644 --- a/src/fio_headers.h +++ b/src/fio_headers.h @@ -1,4 +1,3 @@ -extern "C" { // Kill atomics in fio headers #define _STDATOMIC_H #include "fio/arch/arch.h" @@ -11,6 +10,7 @@ extern "C" { #define CONFIG_HAVE_GETTID #define CONFIG_SYNC_FILE_RANGE #define CONFIG_PWRITEV2 +extern "C" { #include "fio/fio.h" #include "fio/optgroup.h" }