[Runtime] Include base API header from futex.h (#24630)
`futex.h` uses base API types and macros provided through
`iree/base/api.h`, including status, attributes, config, and time
definitions.
This includes the public base API umbrella instead of including those
base headers directly. `target_platform.h` remains explicit because
`futex.h` directly depends on platform detection macros.
This makes bazel layering check fail, hence the fix.
Signed-off-by: Corentin Kerisit <corentin.kerisit@gmail.com>
diff --git a/runtime/src/iree/base/threading/futex.h b/runtime/src/iree/base/threading/futex.h
index b34e73d..79dba94 100644
--- a/runtime/src/iree/base/threading/futex.h
+++ b/runtime/src/iree/base/threading/futex.h
@@ -30,11 +30,8 @@
#include <stdint.h>
-#include "iree/base/attributes.h"
-#include "iree/base/config.h"
-#include "iree/base/status.h"
+#include "iree/base/api.h"
#include "iree/base/target_platform.h"
-#include "iree/base/time.h"
//===----------------------------------------------------------------------===//
// Platform detection