diff --git a/tests/featuremap/featuremaptest.cpp b/tests/featuremap/featuremaptest.cpp
index 7ba52a7..c4c40c6 100644
--- a/tests/featuremap/featuremaptest.cpp
+++ b/tests/featuremap/featuremaptest.cpp
@@ -21,6 +21,7 @@
 */
 #include <cassert>
 #include <cstdlib>
+#include <cstdint>
 #include <fstream>
 #include <iostream>
 #include <map>
