diff --git a/src/CodeInterpreter.hh b/src/CodeInterpreter.hh
index 5045f5778e179799af5c4b872c3caced80fbf41f..e17e076981325133e92eacdafbbd38643ed9ec86 100644
--- a/src/CodeInterpreter.hh
+++ b/src/CodeInterpreter.hh
@@ -24,6 +24,7 @@
 #include <cstring>
 #include <utility>
 #include <vector>
+#include <cstdint>
 #ifdef BYTE_CODE
 # include <dynmex.h>
 #endif