diff --git a/app/spdk_top/spdk_top.c b/app/spdk_top/spdk_top.c index 165418cfb..0b7c9269a 100644 --- a/app/spdk_top/spdk_top.c +++ b/app/spdk_top/spdk_top.c @@ -38,10 +38,21 @@ #include "spdk/util.h" #include "spdk/env.h" +#if defined __has_include +#if __has_include() +#include +#include +#include +#else #include #include #include - +#endif +#else +#include +#include +#include +#endif #define RPC_MAX_THREADS 1024 #define RPC_MAX_POLLERS 1024