From: Jens Axboe Date: Thu, 13 Dec 2018 03:31:52 +0000 (-0700) Subject: aioring: check for arch support AFTER including the headers X-Git-Tag: fio-3.13~79 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=a30e63cf44bcde4efd26475fa751e9a0502c1093 aioring: check for arch support AFTER including the headers Signed-off-by: Jens Axboe --- diff --git a/engines/aioring.c b/engines/aioring.c index 5a9add79..e434387c 100644 --- a/engines/aioring.c +++ b/engines/aioring.c @@ -1,4 +1,3 @@ -#ifdef ARCH_HAVE_AIORING /* * aioring engine * @@ -17,6 +16,8 @@ #include "../optgroup.h" #include "../lib/memalign.h" +#ifdef ARCH_HAVE_AIORING + #ifndef IOCB_FLAG_HIPRI #define IOCB_FLAG_HIPRI (1 << 2) #endif