diff --git a/src/common/hash.h b/src/common/hash.h
index 188d1c5554693535ac158122fe3b2e720207fbaf..ee2560dadb2ced924cc530080fc6a2c1905d1b03 100644
--- a/src/common/hash.h
+++ b/src/common/hash.h
@@ -4,6 +4,7 @@
 
 #pragma once
 
+#include <cstddef>
 #include "common/common_types.h"
 
 namespace Common {