diff --git a/lib/event/reactor.c b/lib/event/reactor.c index a71caa898..40fbf846e 100644 --- a/lib/event/reactor.c +++ b/lib/event/reactor.c @@ -35,7 +35,6 @@ #include "spdk/likely.h" #include "spdk_internal/event.h" -#include "spdk_internal/thread.h" #include "spdk/log.h" #include "spdk/thread.h" diff --git a/test/unit/lib/event/reactor.c/reactor_ut.c b/test/unit/lib/event/reactor.c/reactor_ut.c index db50ea2f6..edf96e544 100644 --- a/test/unit/lib/event/reactor.c/reactor_ut.c +++ b/test/unit/lib/event/reactor.c/reactor_ut.c @@ -36,6 +36,7 @@ #include "spdk_cunit.h" #include "common/lib/test_env.c" #include "event/reactor.c" +#include "spdk_internal/thread.h" static void test_create_reactor(void)