diff --git a/src/emitterutils.cpp b/src/emitterutils.cpp
index 6cdf6de..dbd2590 100644
--- a/src/emitterutils.cpp
+++ b/src/emitterutils.cpp
@@ -1,4 +1,5 @@
 #include <algorithm>
+#include <cstdint>
 #include <iomanip>
 #include <sstream>
 
