summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/base/amo.hh4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/base/amo.hh b/src/base/amo.hh
index ec0598199..297b88e76 100644
--- a/src/base/amo.hh
+++ b/src/base/amo.hh
@@ -35,6 +35,10 @@
#ifndef __BASE_AMO_HH__
#define __BASE_AMO_HH__
+#include <array>
+#include <cstdint>
+#include <functional>
+
struct AtomicOpFunctor
{
virtual void operator()(uint8_t *p) = 0;