diff --git a/emper/lib/adt/RwLockUnboundedQueue.hpp b/emper/lib/adt/RwLockUnboundedQueue.hpp
index 0d60254ed8ad1c1d49b14e2add572e6ff64efc8b..8a305b377affa1e811fcf64e0ea11c098659bd74 100644
--- a/emper/lib/adt/RwLockUnboundedQueue.hpp
+++ b/emper/lib/adt/RwLockUnboundedQueue.hpp
@@ -7,6 +7,8 @@
 #include <cstring>
 #include <queue>
 
+#include "Common.hpp"
+
 namespace lib::adt {
 
 static void aquire_wrlock(pthread_rwlock_t& lock) {