[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 2/2] qemu/coroutine: Include missing 'qemu/atomic.h' header
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH 2/2] qemu/coroutine: Include missing 'qemu/atomic.h' header |
Date: |
Tue, 17 Dec 2024 15:13:26 +0100 |
Commit 944f3d5dd21 ("coroutine: Add qemu_co_mutex_assert_locked")
added an inline method which uses qatomic_read(), itself declared
in "qemu/atomic.h". Explicitly include it now to avoid issue when
refactoring unrelated headers.
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
include/qemu/coroutine.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/qemu/coroutine.h b/include/qemu/coroutine.h
index ff3084538b8..e545bbf620f 100644
--- a/include/qemu/coroutine.h
+++ b/include/qemu/coroutine.h
@@ -16,6 +16,7 @@
#define QEMU_COROUTINE_H
#include "qemu/coroutine-core.h"
+#include "qemu/atomic.h"
#include "qemu/queue.h"
#include "qemu/timer.h"
--
2.45.2